Reply To: Multiple choice buttons and recording responses

PennController for IBEX Forums Support Multiple choice buttons and recording responses Reply To: Multiple choice buttons and recording responses

#5087
chahlabena
Participant

No error messages, thankfully! I saw the results but thought it would output separate files, it’s fine! Thank you!

One last question (sorry!)
I included an html consent form, but my error messages (for incomplete forms) doesn’t seem to work, I get one “continue” button that shows up if they press “continue” with an incomplete form.

PennController( "consent" ,
    newHtml("consent form", "consent.html")
        .print()
        .log()
    ,
    newButton("continue", "Continue")
        .print()
        .wait()
);
        
PennController( "authorization" ,
    newHtml("authorization form", "authorization.html")
    .settings.checkboxWarning("Please check <strong>I hereby consent to participate</strong> to continue.")
    .print()
    .settings.inputWarning("Please fill out these fields to continue.")
    .print()
    ,
    newButton("Continue")
        .print()
        .wait()
    
    ,
    getHtml("authorization form")
    .warn()
    ,
    
    newButton("Continue")
    .print()
    .wait()
  );

Thank you so much!