Share via E-Mail
Share on Twitter
Share on Facebook
E-junkie Blog
E-junkie FaceBook Page
E-junkie @ Twitter

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

Is there a way to make a dropdown selection required?



tvsmvp
member
Posts: 47


When somebody fails to select a color preference, it makes for quite an interesting time tracking down the buyer and figuring everything out. As a last resort, I've started requiring phone numbers through paypal - but I'd rather not due to obvious privacy concerns on the part of my clients. So, is there a setting in eJunkie that I can use for this? Or do we know of a line of code I might include somewhere to make this mandatory?


#
POSTED ON: December 13, 2007 @ 11:11 GMT -7




E-junkieChef
E-Junkie Crew
Posts: 936


The first option in the dropdown is already selected, so that's the color that will be added in the cart when they click the ADD TO CART button.


#
POSTED ON: December 15, 2007 @ 14:37 GMT -7




tvsmvp
member
Posts: 47


But my question is whether there's a way to require a selection, not rely on a default.


#
POSTED ON: December 15, 2007 @ 15:00 GMT -7




E-junkieChef
E-Junkie Crew
Posts: 936


If there is something already selected by default, then there is no question of "requiring" a selection as an option is already selected.


#
POSTED ON: December 15, 2007 @ 15:35 GMT -7




tvsmvp
member
Posts: 47


I can't make a choice selected by default - that would cause me to send the wrong color to somebody who failed to make a choice. That's why I'm asking if a choice (or change) be make mandatory.


#
POSTED ON: December 15, 2007 @ 15:43 GMT -7




E-junkieChef
E-Junkie Crew
Posts: 936


No, it can't be made mandatory by us. You can have some JS validation on your end for that.


#
POSTED ON: December 15, 2007 @ 17:33 GMT -7




tvsmvp
member
Posts: 47


Thanks for the update. For those looking for something similar, I was able to find a suitable js example on this page: http://www.elated.com/articles/form-validation-with-javascript/.

Thanks again -


#
POSTED ON: December 15, 2007 @ 17:55 GMT -7




zawmn83
member
Posts: 4


Can I validate the customer input with our existing records from Database before Add Cart?


#
POSTED ON: May 22, 2008 @ 09:30 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4354


@zawmn83:
I think I have already answered your question in another thread here:
http://www.e-junkie.com/bb/topic/1718


#
POSTED ON: May 22, 2008 @ 15:12 GMT -7


You must be logged in to make a post. Please click here to login.

30 Day Money Back Guarantee
PayPal Certified Integration
Google Checkout Certified Integration
Slam the Online Scam