This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 4
Exiting Form If First Question No
Started 10 years ago by scarter | 8 posts |
-
Hi
We have an application form to allow someone to apply for a vehicle, but they need a driving licence.
On our application form we have created a page 3 with a section break that advises they need a driving licence if they wish to apply and in the logic it skips page 2 if the answer is no, however when a user with a licence applies they fill in page two and still get page 3.
Is there a better way of doing this without having to add all questions to logic one by one (there are quite a lot)?
Love the application though, keep up the good work.
Kind Regards
Simon
Posted 10 years ago # -
@scarter: Yes, the page logic feature is disappointingly limited. I would like to see them extend the functionality so that, in addition to jumping to any page based on the logic using form input in one or more fields, you could choose which page was visited after the first page jumped to. This could be done by adding a "Select following page" drop down menu at the end of each logic section, which would make the Continue/Submit button on that page unconditionally jump to the page chosen. Even if we only got the choice to make the following page the Success page, this would be a huge improvement. In this way you could make a five page form, in which, based on the choices made on page 1, the user would be shown, one of the following sets of pages:
Page 1 -> Page 2 -> Success page
Page 1 -> Page 3 -> Success page
Page 1 -> Page 4 -> Success page
Page 1 -> Page 5 -> Success pagePosted 10 years ago # -
Thanks William
In your experience is jumping to the success page the only way to accomplish the task I am trying to achieve or is there a better way of "exiting the form" if certain criteria are not met?
Regards
Simon
Posted 10 years ago # -
Simon,
Here is my understanding of what you would like to accomplish: You have a three page form. Based on the answers on page 1, you would like the user to be presented with page 3, then the success page (skipping page 2), or page 2, then the success page (skipping page 3). Based on my experience, there is no way to accomplish this scenario with Machform as it currently functions.
Please bear in mind that I am just another Machform user, not a member of the Appnitro staff, and that I haven't been using the logic features for more than a few week, because I didn't upgrade to a version that supported logic until I joined the version 4 Beta test, for reasons I won't take time to go into now.
If there is a way to accomplish what you want to do that I am not seeing, hopefully another, more knowledgeable user, or a member of the Appnitro staff will respond to explain how it can be done.
--
WilliamPosted 10 years ago # -
Simon -- it is possible to do so.
Based on your description above, I assume you have 3 pages:
Page 1
----------
normal pagePage 2
----------
the page having the question: do you have driving license? (Yes) (No)Page 3
----------
the page asking for driving license detailsSo, if the user answered "Yes" on Page 2, the form will go to Page 3 as normal. Otherwise, it will skip page 3 and submit the form.
Is that correct?If so, all you need to do is to use "Success Page" as the logic destination, like this:
MachForm Founder
Posted 10 years ago # -
Yuniar,
Could you please address the scenario I outlined? Is it possible to create a 3 page form using page logic that skips either page 2 OR page 3 based on the input on page 1? If so, I cannot see how to do so.
--
WilliamPosted 10 years ago # -
It is possible to skip pages; for a simple example:
page 1 asks which page to go to next -- either 2 or 3 are the choices. logic directs to 2 or 3 according to this field
page 2 has a hidden field default 1 which if not 0 logic directs to success
page 3 has also a hidden field default 1 which if not 0 logic directs to success (skip to success if any condition true p2 hidden not 0 or p3 hidden not 0)you can try it out at http://sugarcreek1and4.org/poolform/view.php?id=11563
Posted 10 years ago # -
christopherbrooks: Thank you very much. That does work. I was messing around with this and I got close, but I didn't quite get there.
Having said that, I don't think that this is a very straightforward way to make this work. You have to create special fields just for the logic with specific default values and make them hidden, as well as potentially renaming some of your "Continue" buttons to "Submit", and so on to make everything look nice and neat. There is room for a lot of improvement in the page logic functionality.
Posted 10 years ago #
Reply
You must log in to post.