I modified the validation. My validation is working fine now. When the user selected USA, Canada the postal code is required and if the user selected all other country postal code is optional.It shows validation errors.
I have difficulties to add the red asterisk (*) on postal code field if the user select USA or Canada countries and remove the red asterisk (*) if another country is selected.
I was trying to make changes in _CreateOrUpdateAddress.cshtml in JQuery without success. Do you know how to tweak the code?
Thanks!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Vous avez encore des questions ou avez besoin d'aide?