[If this question has been answered, please send me a link. I'm new to Nabble, I couldn't find such an answer, I apologize if it's there.]
I'm new to T5. After much experimenting and Googling, I thought I'd try a list. I need a form with several submit buttons. It has to be a form, because there are fields on the form that the user will fill in before clicking one of the submit buttons. But in addition, each submit button is associated with a different JavaScript function. Each JavaScript function enters into a particular dialog in order to obtain some information. The JavaScript function needs to store that information in a hidden field of the form, then submit the form. In answering, I'd appreciate if you would not use T5 shorthand like "inject an XYZ component and implement the ABC event listener", or something like that. I hope you will supply sample JavaScript functions, a sample form (everything between the t.form tag and its end tag), and a sample of the Java class. Please be sure to show a form with at least two fields (a textfield and checkbox), at least two submit buttons with different text values, a different JavaScript function to be called for each submit button, and at least one hidden field that is filled up in different ways by the different JavaScript functions. I'd also like to have multiple Java methods that receive control depending on which submit button is clicked. But if that's not possible, please indicate that that is not possible. Then show one Java method and show how the JavaScript functions can fill in a hidden field to indicate which of the submit buttons was clicked. Thanks 1000000. --Lindsay -- View this message in context: http://www.nabble.com/Tapestry-5-Submit-Form-from-Javascript-tp25895341p25895341.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org