Plugin displays form incorrectly		
	
	
	
		
	
	
	
	
	
		
		
				
		- 
			Trister
		
- 
													Topic Author
											
- 
				
	Offline
			
- 
				New Member			
- 
				  
		Less
		More
		
			
									- 
						Posts: 8					
- 
						Thank you received: 0					
- 
											
- 
											
 
	 
		 
		
			
	
						13 years 2 months ago				#215
		by Trister
	
	
		
			
			
				Love the plugin but it's not displaying my form correctly.
On the form I have Country and Region
The code:
option=com_fabrik;member_application___country
It says I don't have to use State, so I'm not.
Displaying the form, the Country works. But the Region is suppose to be on the next line with a label. Now it's on the same line as Country with no label.
Here is the form
dev.bffaceoff.com/member-application-fabrik
I have version 2.2 and Joomla 2.5.6			
 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
	
		
				
	
		Less
		More
		
			
									- 
						Posts: 3194					
- 
						Thank you received: 441					
- 
											
- 
											
 
	 
		 
		
			
	
						13 years 2 months ago				#216
		by admin
	
	
		
			
			
				Hi,
CSLookup supports only Countries and States (so CS...Lookup). No region support.
Is this your problem? Please, advise.			
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
	
		
				
		- 
			Trister
		
- 
													Topic Author
											
- 
				
	Offline
			
- 
				New Member			
- 
				  
		Less
		More
		
			
									- 
						Posts: 8					
- 
						Thank you received: 0					
- 
											
- 
											
 
	 
		 
		
			
	
						13 years 2 months ago				#217
		by Trister
	
	
		
			
			
				
It says I don't have to use State, so I'm not.
I know that. I'm only using it for Country!
The problem is, the plugin is messing up the form.
The Region is suppose to be on the next line with a label "Region". Now it's on the same line as Country with no label.
If I disable to plugin, the forms displays as it should with each element under the next with a label. Turn on the plugin and the "Region" element shifts up to the same row as Country.
If you look at the form, you would see what I'm talking about.
dev.bffaceoff.com/member-application-fabrik			 
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
	
		
				
	
		Less
		More
		
			
									- 
						Posts: 3194					
- 
						Thank you received: 441					
- 
											
- 
											
 
	 
		 
		
			
	
						13 years 2 months ago		 -  13 years 2 months ago		#218
		by admin
	
	
		
			
			
				Now the problem is clear,
could you please send me the HTML code of the page with and without the plugin?
I need to check if the problem is related to a problem with HTML replace, or just something related to page CSS.
You can send me an email at info(at)selfget.com. Please, be patient if I delay my answers. I'm on holidays... 
 
Kind regards,
Luigi			
 
	 
	
		Last edit: 13 years 2 months ago  by admin.			
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
	
		
				
		- 
			Trister
		
- 
													Topic Author
											
- 
				
	Offline
			
- 
				New Member			
- 
				  
		Less
		More
		
			
									- 
						Posts: 8					
- 
						Thank you received: 0					
- 
											
- 
											
 
	 
		 
		
			
	
						13 years 2 months ago				#219
		by Trister
	
	
		
			
			
				Oh, don't worry no rush. I'm actually surprised you check the forums during your holidays. You don't see that happen often and I appreciate it.
I'll send you the email as soon as I can.
Thanks!			
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
	
		
				
	
		Less
		More
		
			
									- 
						Posts: 3194					
- 
						Thank you received: 441					
- 
											
- 
											
 
	 
		 
		
			
	
						13 years 2 months ago				#222
		by admin
	
	
		
			
			
				Hi,
thanks for sending me the HTML code.
Looking at your code I've found I forgot to close the select tag in the select replace (while is present in the input replace). I don't know if this causes your problem, but for sure I will fix in the next release. So. try to replace this line (213):
$replacement = '<select ' . $name . ' ' . $id . ' ' . $class . ' ' . $style . ' ' . $this->_countrywidthstr . ' ' . $this->_countrysizestr . ' ' . $onchange . '>';
With this:
$replacement = '<select ' . $name . ' ' . $id . ' ' . $class . ' ' . $style . ' ' . $this->_countrywidthstr . ' ' . $this->_countrysizestr . ' ' . $onchange . '></select>';
Please, advise.
Luigi			
 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
 
	
		
	
	
	
	
	
	
 
	
		Time to create page: 0.147 seconds