Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    Not by default, but you can get this behavior from an equation associated to a calculated field in your form.

    The “Next page” buttons have associated the class name: pbNext

    If the radiobutton field has the name: fieldname1

    You can use the following code as part of an equation associated to any of the calculated fields in your form:

    if(fieldname1==”Yes”) jQuery(‘.pbNext’).show();
    else jQuery(‘.pbNext’).hide();

    Best regards.

    Thread Starter kickboxerdan

    (@kickboxerdan)

    That’s great thank you – worked straight away.

    I also worked out an extension for this to multiple page forms if it’s useful to anyone.

    First Page

    if(fieldname4=="Yes") jQuery('div.pbNext:eq(0)').show();
     else jQuery('div.pbNext:eq(0)').hide();

    Second Page

    if(fieldname8=="Yes") jQuery('div.pbNext:eq(1)').show();
     else jQuery('div.pbNext:eq(1)').hide();

    Plugin Author codepeople

    (@codepeople)

    Hi,

    Excellent!!!

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide Next/Submit button until radio slected for specific question is yes’ is closed to new replies.