doran_doran
Registered User.
- Local time
- Today, 13:04
- Joined
- Aug 15, 2002
- Messages
- 349
I have a form called "frmPlanContacts" where end user will populate contact information (like name, address, city, state zip and etc).
Ok, here is the delima. Zip code has to be atleast 5 digits or 9 digit.
when end user puts 5 digits system should just take the zipcode.
when end user puts 9 digits system should just take the zipcode.
when end user put 4 digits, system should prompt msgbox "zip must be atleast 5 digits and set focus to zip code and dont let end user get out of the form"
when end user put 6,7 or 8 digits, system should prompt msgbox "zip must be either 5 digits or 9 digits. and set focus to zip code and dont let end user get out of the form"
Is this duable? Any help will be appreciated.
Dianna Goldsberg
=======================================================
Here my fields (there are four different contacts), if the state is populated then end user must put a zip. If not then dont even run the validation.
txtPrimaryContactZip
txtBillingZip
txtPlanAdminZip
txtPrimaryContactPOZip
Ok, here is the delima. Zip code has to be atleast 5 digits or 9 digit.
when end user puts 5 digits system should just take the zipcode.
when end user puts 9 digits system should just take the zipcode.
when end user put 4 digits, system should prompt msgbox "zip must be atleast 5 digits and set focus to zip code and dont let end user get out of the form"
when end user put 6,7 or 8 digits, system should prompt msgbox "zip must be either 5 digits or 9 digits. and set focus to zip code and dont let end user get out of the form"
Is this duable? Any help will be appreciated.
Dianna Goldsberg
=======================================================
Here my fields (there are four different contacts), if the state is populated then end user must put a zip. If not then dont even run the validation.
txtPrimaryContactZip
txtBillingZip
txtPlanAdminZip
txtPrimaryContactPOZip