on 02-01-2008 3:13 AM
Hi all,
I need to validate my form to make sure that when a user clicks on the submit button, it should check if all the fields are being filled up, if fields are left empty, a message/error should promt telling the user to fill up the form before submitting the form.
Once all fields are filled then proceed with submitting.
Does anyone have any codes that u can provide me or help me with?
Thanks In Advance.
Regards,
JingXuan
I understood what you have done. You just put the simple button.
You did not specify any action with it.
Actually tell me what you want to do with the button.
For now you can try with the EmailSubmit Button and just check the functionality.
Remove the earlier button .. Drag the email submit button to the form and try it out.
Hope you will get the idea.
Cheers
Satya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is a default functionality provided by Adobe... If all your fields are field, you can not submit. It will prompt .. to fill the form.
Only you have to mark those field as mandatory.
So select the field -> Go to Object Pallet -> Value Tab -> select the type as User entered Required
This will solve your problem.
You can also customise the requirements through scripting language.
cheers
Satya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Only those fields which are Mandatory.. put user entered required and rest other fields you leave as User Entered - Optional. Onclick of Submit .. it will mark those fields with red colour boxes and will prompt a error message and you will not be able submit the form.
Please award points if your problem is resolved.
Cheers
Satya
Hi Satya,
I changed the fields to user entered required, and dragged a submit button onto my form, but even after i deploy my form, i did not enter anything into my form and clicked on the submit button, nothing happened, it loaded for awhile and nothing happened, there wasnt any prompt or red boxes u mentioned.
Once resolved points will be awarded of cause~ 😃
Regards,
JingXuan
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.