Think of a situation where we need to fill up a form such as ‘Purchase Request’, while we fill the form completely suppose the form you filled it has an option to save the form and you can keep it for your own. Yes, it is possible to save the form in a PDF format.
Step1: We can try this with the help of a form as ‘Purchase Request’, Create a form as shown in Figure1,using ClaySYS AppForms.
We could use the button ‘Preview Form’ for the form’s preview.Figure2 shows the preview of our form.
Step2: So, we have finished our form creation. Next is the big part rule creation. We could call the function ‘SaveAsPdf ()’ in any controls trigger. Now we could assign it in the button ‘Save as PDF ‘.
Step3: Follow the steps for creating the action we need
Step4: Now we could see our function in the white box, now click on the verify button for checking as shown in Figure5.The green box appeared around our function indicating that it is correct. Now click Done.
Step5: Preview the form and click on the button ‘Save as PDF’, the PDF document will be opened automatically as shown in Figure5.