I have a problem I cant seem to get.
User has Location information (city, state, country) with the option to select “Hide my location”.
So if hide location is selected ( $data[‘private’] => true ) then there is no need to enter City, State Country) I hide those fields with jquery on selecting the checkbox.
But if not selected then they must be filled out.
So how can I force / remove validation for those fields based on what the user has selected?
Thanks,
Dave
No comments:
Post a Comment