OpenESignForms / openesignforms

Open eSignForms is the first open source SaaS web contracting platform
https://open.esignforms.com
107 stars 50 forks source link

Add ability to include additional HTML conditionally #61

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Now that Condition-Tree logic is in place, add ability to include HTML 
conditionally, so a section of a form appears or not based on a form data field 
value.

Original issue reported on code.google.com by yoz...@gmail.com on 18 Apr 2012 at 5:09

GoogleCodeExporter commented 9 years ago
May just want to annotate a page with begin/end IF conditions.

Would like a way to tie in variable sections to also be DISPLAY/HIDDEN or make 
visible/invisible based on another value.

IN particular, this would be useful if, for example, a checkbox, radio-button 
or select/dropdown has a given value to make the forms change dynamically.

Original comment by yoz...@gmail.com on 1 Jun 2012 at 12:11

GoogleCodeExporter commented 9 years ago
This may be done in multiple steps, but the initial first step for this type of 
advanced programming is to allow Java code to be added to the HTML pages, and 
combined with JavaScript, it should be easy to have sections appear/disappear 
automatically as well as have sections that are optional to appear on the page.

Original comment by yoz...@gmail.com on 24 Jul 2012 at 4:49

GoogleCodeExporter commented 9 years ago

Original comment by yoz...@gmail.com on 24 Jul 2012 at 4:49

GoogleCodeExporter commented 9 years ago
This can be done now using JSP syntax for the conditional sections. See 
http://code.google.com/p/openesignforms/wiki/ProgrammingGuide#Advanced_programmi
ng_of_a_document

Original comment by yoz...@gmail.com on 26 Feb 2013 at 7:01