Button Form Field

Button Form Field

Forum member · Aug 21, 2007
The Button Form field does not seem to have any type of click events associated with it (like a button in .NET would). How would I imitate a click event using the Button Form Field in your product, if possible? For instance, if a user entered some data online to an interactive PDF, how would I submit this data (to be saved in a database) using the Button Form Field. Could you provide an example of this if it can be done (I did not see anything like this in your examples provided on your website) Thanks

Re: Button Form Field

Support · Aug 21, 2007
Hello, You can set the action for the button either to SubmitAction, ResetAction or JavaScripAction. The AllPageElements example shows how to set the Action property of the button form field to any of these three actions. Following is the link to the Help Documentation on our web site that shows how to set the Button field's Action property to JavaScriptAction. Thanks, ceTe Software Support Team

Re: Button Form Field

Forum member · Aug 22, 2007
I guess what I would really like to do is add an <asp:button> to an existing PDF document that I have opened in an aspx page with the DrawToWeb method. Is this possible? If so, could you give me an example. I've been through all your examples and documentation and I can't find anything to point me in the right direction

Re: Button Form Field

Support · Aug 22, 2007
Hello, It is not possbile to add a .NET button to the PDF document using our product. You can add the Button page element to the PDF and you can set the Action for the button. You can refer to the Button Class topic on our help documentation. Thanks, ceTe Software Support Team.