Jump to content

Required field in form address


José Antonio

Recommended Posts

 

How can I make a field required by state?

 

 

For example, if the user chooses country: Canada, now request identification number is optional, this is a prestashop option but if you choose city: Ontario (contains states), identification number is required

 

 

I've tried a thousand ways but I think it would be best to do it using javascript, any ideas?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...