What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Can you please help with conditional logic on (section 2) of my form?

    Asked by goldbadger on April 09, 2013 at 06:32 PM

    We are a charity offering information for cancer sufferers and we want to audit the service we are providing. We are trying to transfer the audit form data from paper records onto the computer so that we can utilise the Report analyses to speed up our analysis of the data.

    Most of the form we have transferred OK but I am having problems with Section 2- 'Who is the enquiry for?

    I would like just the two options to show unles a choice is made: currently I have to have the 'Service User' (7a) showing and the other fields open when the 'Someone Else' (7b) radio button is checked.

    Sometimes neither the 'Service User' or the 'Other person' is the 'Patient' and we would like to get a presonal profile of the patient but ONLY if the 'patient' check box has not been ticked for either the 'service user' or the 'other person'

    I have tried combinations of form collapse and conditions but so far I have not been able to hide either of the 'Patient' (7c) questions

    Can anyone please help?

    Thank you very much

    Page URL:
    http://form.jotformeu.com/form/30864838087365

    Screenshot
    section style form data check checked
  • Profile Image

    Answered by pinoytech on April 10, 2013 at 02:53 AM

    Hi there,

    Can you please let us know the condition that you want to achieved in your form for further assistance?

    Thank you!

  • Profile Image

    Answered by goldbadger on April 10, 2013 at 05:58 AM
    Thanks for getting back to me.
    What I would like to achieve is:
    Section 2 opens with just the 'question' "is the enquiry for . . . "
    (this is an edited screen-print to show what I would like to achieve)
    If the choice is 'Themself'; then just the options for 'Service User' are displayed
    If the choice is 'Someone Else' then both the options for 'Service User' and 'Other Person' are displayed
    [I have managed to 'hide' the 'Other Person' choices until selected, but the section still opens with the details for the 'Service User' displayed - which looks rather odd when you're asking them to make a choice]
    We have now decided that it would also be useful to have collected data about the patient - who may be neither the 'Service User' nor the 'Other Person' i.e. when the status: 'Patient' has NOT been selected by BOTH 'Service User' AND "Other Person'
    Section 2 opens with the Patient questions (7c) showing, although I have managed to hide the Patient questions (7c) if 'Patient' is selected at either 7a or 7b, (- seems I have perverse logic!)
    In building and testing this section I have only included the question .. "7c Are details of the PATIENT known" .. as a placeholder to test it will open at the right time (- which it doesn't!)
    IF the answer is YES: what I would like to open is a copy of the personal details 'Profile of Service User' i.e. Section 3: 8a,b,c,d & e (but obviously relabelled as "Patient' details)
    I hope this clarifies further what I would like to achieve - can you show me how this can be achieved or how Section 2 can be restructured to achieve the desired result?
    Thank you very much
    Stephen Pugh
  • Profile Image

    Answered by pinoytech on April 10, 2013 at 08:33 AM

    Hi Stephen,

    Can you please take a look at this cloned form of yours? http://www.jotformpro.com/form/30993714613962

    Thank you!

  • Profile Image

    Answered by goldbadger on April 10, 2013 at 02:41 PM
    I am not achieving what I had hope with the form, so I have isolated Section 2, removed all the conditions and started again (new form: http://form.jotformeu.com/form/30995133135352)
    What I want to achieve at this stage is to show BOTH 'Service User' AND 'Other person' when the 'Someone Else (Other person) option is selected. Although I have set the conditions to 'show' for all these sections only the 'Other person' details show (the Service user' details disappear or don't show)
    Please help - I have tried various conditions but none seem to show both sections together
    Thanks again
    Stephen Pugh
  • Profile Image

    Answered by pinoytech on April 10, 2013 at 04:11 PM

    Hi Stephen,

    I have cloned your latest form and made some workaround on it. Can you please take a look at this? http://www.jotformpro.com/form/30996419788980

    Feel free to contact us again if you need further assistance.

    Thank you!

  • Profile Image

    Answered by goldbadger on April 10, 2013 at 04:37 PM
    Hi pinoytech
    Thanks again for your help - unfortunately I still cannot see BOTH the 'Service user' AND the 'Other Person' details when 'Other person' option is selected, (When the 'Other Person' details open the 'Service User' fields close up)
    Also the 'Patient details' section (7c) shows even when the 'Patient' box has been ticked in the status fields of either 'Service User' or 'Other person' (I don't need to ask for details of the patient if they have already told me they are the patient)
    I would like the Patient details (7c) to ONLY show when BOTH the status for 'Service User' AND 'Other Person' have been selected AND the option of 'Patient' has NOT been selected (i.e. is not equal to `Patient')
    Is this combination possible within any possible limitations of Jotform Conditions?
    I really appreciate your patience and I apologise if I have not made my wishes clear, but would appreciate knowing if a solution could be possible - or whether I need to tell my colleagues that we need to abandon this part of the audit.
    Thanks again
    Stephen Pugh
  • Profile Image

    Answered by pinoytech on April 10, 2013 at 05:06 PM

    Hi Stephen,

    Is this the condition you want to achieved?

    If "Is the enquiry for.." field "Equals To" Someone else (Other person)

    Then "Show" "7a Status: Service User" Field

    Then "Show" "7b Has 'SERVICE USER" Field

    Then "Show" "----------------" Field

    Then "Show" "7a Status: Other per..." Field

    Then "Show" "7b Has 'Other person..." Field

    Then "Show" "----------------" Field

     

    If "Is the enquiry for.." field "Equals To" Themself (Service user)

    Then "Show" "7a Status: Service User" Field

    Then "Show" "7b Has 'SERVICE USER" Field

    Then "Show" "----------------" Field

     

    Kindly check the form again if I did it correctly or not.

    http://www.jotformpro.com/form/30996419788980

    Thank you!

  • Profile Image

    Answered by goldbadger on April 10, 2013 at 05:26 PM
    Hi pinoytech
    Well done! That's just what I wanted!
    I thought I had done myself before, but obviously not! (or does the sequence matter, because I had put 'Themselves' in first and then 'Someone else' - no matter it works now and I'm very grateful!!)
    PLEASE can I trouble you to help me with the 'Patient' details (7c)?
    How can I get the PATIENT section (7c) to show ONLY IF the 'Patient' has NOT been checked in BOTH the 'Service User' AND the 'Other Person' status fields (7a) (i.e. no one has stated that they are the patient already)
    Your help again will be VERY much appreciated
    Stephen Pugh
  • Profile Image
    JotForm Support

    Answered by jonathan on April 10, 2013 at 06:21 PM

    Hi Stephen,

    For 'Patient Details (7c)?' not to show... you will have to create a condition for all 'Section 3 - Profile of Service User' fields and 'Other Person' status fields (7a)'  when empty not to show the 'Patient Details (7c)' field 

    Please test this form http://www.jotformpro.com/form/30996492168973?

    I did this condition

     

    and adjusted this one

     

     

    Test if the form works for you.

    Inform us if you need further assistance.

    Thanks.