This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

How do I jump straight to "Submit" on answering "No" to a question?


  1. StuartB
    Member

    I'm trying to set up a 'catch-all" initial question (on a long form) so that if a user answers "No" to this question, the rest of the form is avoided and the user only gets to press the "Submit" button. I've tried the page jump logic, but that doesn't seem to work as I want it to (perhaps I set it up incorrectly - I dont' know).

    Posted 11 years ago #
  2. AMurray
    Pro Member

    As you have already tried, use conditional logic (skip page).

    Can you show us the page (link to the form), and describe more fully the behaviour you expect, versus the behaviour you're seeing?

    The skip page should work, based on the answer "NO" to "Question 1" effectively.

    Do you have any 'required' questions through the rest of the form (that may be expecting answers)? What errors (if any) are you getting, or does it skip to the last page but not just to the actual submit button (causing the user to just have to scroll down to the submit button?).

    You could also use the Conditional Logic to hide questions e.g. any on the final page, which would therefore make the submit button more visible on the immediate screen without having to scroll down.

    Posted 11 years ago #
  3. StuartB
    Member

    Unfortunately the site is under heavy development and is not yet visible externally. Here is an example of what I'm trying to do:

    Q1: Is color of the sky lime green?
    Yes No

    >>> Obviously the answer is No, so when seleected skip all other questions in the form. I did this using conditional logic requesting a page jump to submit.
    >>> Otherwise continue with remainder of questions.

    30 + questions follow - some of which are required

    [Submit] <----- This is what I want to see if I answer No to Q1 and not the intervening questions.

    Is the behavior I'm seeing caused by the required questions? Is there a workaround, or do I have to remove the "required" question flag from the intervening questions?

    Posted 11 years ago #
  4. StuartB
    Member

    Thanks for the comments.

    I used a cludgy solution (for the short term) which was to remove the 'required' status of subsidiary questions and enter a 'hide' question logic for every subsidiary question - long-winded, but it works. With 40+ similar forms to go, I'm still looking for a simpler solution though.

    A preferable solution would be to place all the subsidiary questions on a separate page or pages and hide the whole page if the answer was 'No' - Is this even possible?

    FEATURE REQUEST:
    If the function I've described above is not currently possible in V3.5, I think it would be a good future feature to include -- especially for people who use machforms to create very complex survey data collection forms. Such a page-based dynanic forms capability (where whole pages of questions would be shown or hidden depending on the response to a key question) would be great addition to the show/hide field capabilty we now have. Perhaps it will be in V4....

    Posted 11 years ago #
  5. williamansley
    Member

    @StuartB: I think you have just revealed the root of the problem you are having. The page jump feature only works if you have multiple pages in your form. And it is indeed possible to add as many pages as you like; just drag the 'Page Break' "block" (under the 'Add a Field' tab last item, bottom right column) into the form editor and drop it into the appropriate place on your form.

    By the way, it shouldn't be necessary to remove the "required" attribute of fields to hide them by means of conditional logic. If they are hidden, then they should be completely ignored during the form submission process, even if they are marked as required. If this doesn't seem to be the case in your set up, then you probably need to install the latest version of Machform.

    Posted 11 years ago #

RSS feed for this topic

Reply