This content has been marked as final.
Show 1 reply
-
1. Re: Dealer Locator - Empty Zipcode Field
Keihamm Sep 17, 2014 8:34 PM (in response to dkbollig)Are you using the search by state option? If not, just modify the function that is already included with the form. You need to make sure your numbers match the form you are using. See -checkWholeFormXXXX and Postcode_XXXXX (2 times)
<script type="text/javascript">function checkWholeForm2092(theForm){var why = "";if (theForm.Postcode_25048) why += isEmpty(theForm.Postcode_25048.value, "Please Enter Zipcode!");{alert(why);return false;}return true;}</script>
If you are using the state option you will then use jquery/javascript to write your own function before running this one, or write your own completely. Either way, hope this points you in the right direction.

