Views
Replies
Total Likes
Hi,
Firstly because the form will be potentailly used for code compliance in relation to building regulations, just check if the user is going to print off a blank form and use that to complete the survey. They might then come back to the office to fill the results into the PDF. Ifthat is the potential case, then drop downs are not the friendliest when printed out. A series of radiobuttons "Yes", "No", "N/A" may work better.
You can still script against the rawValue of the group of radio buttons to make other elements visible/hidden or open/readOnly.
Depending on whether the form is going to be used in printed format may direct you to disabling (greying out) fields as opposed to hiding. Both approaches are relatively easy to script:
Visibility is one line of script:
clearWidth.presence = "hidden"; // you will need a flowable layout if you want the form object to move to close the space
Greying out may take a few lines depending on the visual affect you want:
clearWidth.access = "readOnly"; // locks the field
clearWidth.caption.font.fill.color.value = "235,235,235"; // greys out the caption
clearWidth.border.fill.color.value = "235,235,235" // greys out the box
The second requirement is very straight forward. If you click on an object you can go to the Object / Accessibility tab (if this is not open in you workspace you can turn it on in the Windows menu). This provides a space for typing in a tooltip (hint in a bubble when the user hovers over a field). If you leave this blank then the tooltip will be the caption of the field, which isn't particularly useful. When typing in a tooltip you can press Alt and Enter to input new lines.
The third requirement can be provided with straightforward script "setFocus". Acrobat keeps track of the previous view. If the user holds Alt and presses the left arrow on the keyboard they are brought back through previous views. A simple instruction in the notes page should cover this.
I think everything you want (for the form) is achievable in LC. The help file will give you guidance on the solutions above.
Good luck,
Niall
Views
Replies
Total Likes