Tagged: layout hide show
This topic contains 7 replies, has 0 voices, and was last updated by Anonymous 12 years, 8 months ago.
- January 13, 2009 at 5:57 pm #94
I have a form which up to four people interact with, so each has their own section of the form. Right now all 4 sections are in one large page which leads to a large amount of whitespace when I hide sections of the form not in use at a particular stage. Earlier I had tried to separate them into separate pages and use the showpage behavior in the workflow panel to control which one was visible, but it did not appear to work as it always was set to page 1 when I loaded the form. I’m obviously missing something, is there any way I can show and hide different sections without creating said white space?January 14, 2009 at 12:51 am #4359
One thing you can try is to use a branch object when the form opens and go back to your multiple page approach. Open your form in the editor. Then, before you click on anything part of your form, scroll down in the form properties pane (right column) and you should see several behaviors, one of which is the ‘page opened’ behavior. Click this behavior. Now, you will want to drag a multi branch object into the drawing area. Here, you can add the scripting to check to see if the user name is equal to…then show page…
This will check who is accessing the form, then show the appropriate page.January 14, 2009 at 1:09 am #4360
Ooooh, I hadn’t even considered using that behavior to make such things happen. Thanks. I’ve been liking the flow-diagram-style behavior coding. I’m used to writing lines upon lines of logic.January 14, 2009 at 7:50 pm #4363
According to the debug panel, putting the show page command on both “form is opened” and “page is opened” is not allowed.January 14, 2009 at 9:46 pm #4364
Sorry if I confused you. You will only be using the ‘form is opened’ behavior. In this bahavior, you will be using the multibranch to display the appropriate page, based on who is accessing the form.January 14, 2009 at 9:51 pm #4365
Says it is not allowed for ‘Form is opened’ as well. (See Screenshot) For now I have a gigantic (but pretty) button that holds the behavior.January 14, 2009 at 9:59 pm #4366
Hi Epball, would it be possible for you to send me an email at firstname.lastname@example.org.January 16, 2009 at 6:10 pm #4368
After a bit of work, rgatson found a relevant topic that explained the fix to my problem. I’ll post the link here for any searchers who happen to find this topic.
You must be logged in to reply to this topic.