| 
 | ||||||||||
|  | Shopping cart software Solutions for online shops and malls | |||||||||
|  |  |  | ||||||||
| X-Cart Home |  FAQ |  Forum rules |  Calendar |  User manuals |  Login | 
|  | 
| Validation script to check if custom text field has been filled | ||||
|  |  | |||
|  | Thread Tools | Search this Thread | 
| 
			 
			#11  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  Re: Validation script to check if custom text field has been filled Quote: 
 Try something like this: Code: 
 
				__________________ Regards, Victor Dubiniuk X-Cart Skins Store   - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x | |||||||||
| 
			 
			#12  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  Re: Validation script to check if custom text field has been filled You're the man! Thanks Victor   One little thing to make things even better: Change alert("Url you provided seems to be incorrect"); Into alert("Url you provided seems to be incorrect, a correct Url would be www.mydomain.com"); 
				__________________ Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie  -----------------------------------------------------------------------------------------------------------------------------------------  Looking for the best dutch language pack? 4.1.x - 4.6.x compatibel, native speaker translation!  More info | |||||||||
| 
			 
			#13  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  Re: Validation script to check if custom text field has been filled Quote: 
 So "domain.com/page.php" will pass this test. so it would be better replace Code: 
 with Code: 
 
				__________________ Regards, Victor Dubiniuk X-Cart Skins Store   - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x | |||||||||
| 
			 
			#14  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  Re: Validation script to check if custom text field has been filled 
				__________________ Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie  -----------------------------------------------------------------------------------------------------------------------------------------  Looking for the best dutch language pack? 4.1.x - 4.6.x compatibel, native speaker translation!  More info | |||||||||
| 
			 
			#15  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  Re: Validation script to check if custom text field has been filled Quote: 
 Enable the A customer using the "Buy now" button to order a product with product options must be redirected to the product details option. 
				__________________ Eugene Kaznacheev, Evangelist/Product Manager at Ecwid: http://www.ecwid.com/ (since Sept 2009) ex-Head of X-Cart Tech Support Department ex- X-Cart Hosting Manager - X-Cart hosting ex-X-Cart Technical Support Engineer Note: For the official guaranteed tech support services please turn to the Customers HelpDesk. | |||||||||
| 
			 
			#16  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  Re: Validation script to check if custom text field has been filled Quote: 
 Smart thinking! Why didn't I come up with that?   Thanks Eugene! 
				__________________ Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie  -----------------------------------------------------------------------------------------------------------------------------------------  Looking for the best dutch language pack? 4.1.x - 4.6.x compatibel, native speaker translation!  More info | |||||||||
| 
			 
			#17  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  Re: Validation script to check if custom text field has been filled But hold on, you mean the 'Return customer to cart' option? I have that enabled already and this doesn't do the trick 
				__________________ Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie  -----------------------------------------------------------------------------------------------------------------------------------------  Looking for the best dutch language pack? 4.1.x - 4.6.x compatibel, native speaker translation!  More info | |||||||||
| 
			 
			#18  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  Re: Validation script to check if custom text field has been filled Quote: 
 No. Open the 'General settings -> Product options' page. 
				__________________ Eugene Kaznacheev, Evangelist/Product Manager at Ecwid: http://www.ecwid.com/ (since Sept 2009) ex-Head of X-Cart Tech Support Department ex- X-Cart Hosting Manager - X-Cart hosting ex-X-Cart Technical Support Engineer Note: For the official guaranteed tech support services please turn to the Customers HelpDesk. | |||||||||
| 
			 
			#19  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  Re: Validation script to check if custom text field has been filled Quote: 
 The answer is Code: 
  If you would like to know how it works, follow this link. http://www.webreference.com/js/column5/ 
				__________________ Regards, Victor Dubiniuk X-Cart Skins Store   - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x | |||||||||
|  | |||
| 
X-Cart forums © 2001-2020
 | |||