0 Replies Latest reply: May 8, 2013 9:21 AM by BSisson RSS

    How to have a checkbox add formatted text on another page

    BSisson Community Member

      I am working to replicate a set of VERY dense site survey forms for use on 10" Tablets... got most of it figured out.

      I am getting very close to having a working survey form...

       

      The form -IS- the final product, so it doesn't need to be uploaded.  The filled in form is PRINTED and given to the client as a completed site survey.

       

      Got most of my issues solved...slowly

       

      Issue is if someone selects certain options (checkbox's) , I want to put/trigger a comment on the "General Notes summary" page.

       

      I know how to show/hide text based on a Checkbox using a LONG JavaScript, but considering I have HUNDREDS of possible checkboxes, I want to see if there is an Easier way to dynamically show/hide text on the summary page and keep some resemblance of formatting on that summary page.

       

      I was thinking about having a multi-line field on the summary page, and just having the Script "Add" the comment to the field, but there is no way to remove the comment if the box becomes "unchecked" unless there is a "clear & re-create" option. (Messy to even think about)

       

      I have read a lot of methods on the forums and web, and most work for small scale things, but not when there are hundreds of possible options, and the "Summary" page could grow past a single page.

       

      Most of the Comments will be of the form:

       

      " * Item present a risk to the structure and life safety and should be repaired (yada yada for a line or so) <CRLF> "

       

      So the summary page will be a list of things that Need attention

       

      Hope someone has a way to do this that scales and can create a nicely formatted "Summary Page"

       

      PS...I am using Acrobat_XI and have no JavaScript abilities, I have been cutting/pasting snippets from the forums/web to make things work and learning as I go.

       

      If you want to see my progress:

       

      https://docs.google.com/file/d/0BzMc4_9_3xVDclpGSHRZbnZUVUE/edit?usp=sharing

       

      You can download it and see how SOME of the form works....

       

      This is my "Trial" or "test" to see if what I am trying to do is even possible, if I can get this form done I have a 16 page MONSTER to attempt next...

      (anyone want a project for $$)

       

      I have already figured out how to print the form from a Wireless Android Tablet (share it to a cloud printer, or WiFi Printer, works great)