Posts

Showing posts from June, 2011

PDF form validation using javascript

Step-1 - Go to Forms menu-   Choose Add or Edit fields Step-2 - Double click to open the dialogue box of Properties of the selected   Field. Step-3 - Tooltip- give the name here of the selected field and then * (for ex- Full Name*) then click on Close . [NOTE- Here this is compulsory to write the ‘*’ after the field name] This step will be done separately and repeated as same for all the fields in the form. Step-4 - Then select the button (Print button), right click on it. Step-5 -   Go to Action Tab- Delete the existing Action from the Actions , and Add an Action- ·       Select Trigger- Mouse up ·       Select Action- Run a JavaScript (from the dropdown arrow) ·       Then click on Add- (a dialogue box will be opened) Write here -    validateFields(); ·       Then click on OK. ·       Then close this box. Step-6 -   Now go ...