Clicking submit shows all fields
-
Hi there. When I submit the form, the message sends properly, but all previously hidden groups show on the form.
Form
<p>How can we help?<br /> [select* howcanwehelp "" "Something's broken" "I received an error message" "I have a question about my product" "I want to make a suggestion" "I have a question about my account"] </p> [group basicinfo] <fieldset> <p>Your name (required)<br /> [text* your-name] </p> <p>Your email (required)<br /> [email* your-email] </p> <p>Your organization<br /> [text your-org placeholder "University"] </p> </fieldset> [/group] [group question] <fieldset> <p>Ask away!<br /> [textarea your-message-1] </p> </fieldset> [/group] [group suggestion] <fieldset> <p>We love suggestions! What's yours?<br /> [textarea your-message-2] </fieldset> [/group] [group error] <fieldset> <p> On which page did the error appear?<br /> [url url-error-3 placeholder "http://events.yoursite.com/error"] </p> <p> What was the error message? What steps resulted in the error?<br /> [textarea error-steps-3] </p> <p> When did you see the error? <br /> [text error-time-3 placeholder "3:00PM on June 1"] </p> <p> Which browser and browser version were you using? <br /> [text error-browser-3 placeholder "Chrome 54.0.2840.59"] </p> <p> Which operating system were you using? <br /> [text error-os-3 placeholder "Mac OS X 10.3.0"] </p> <p> Did anyone experience this error on a different system or browser? <br /> [text error-browser-3] </p> </fieldset> [/group] [group bug] <fieldset> <p> On which page did the issue occur?<br /> [url url-bug-4 placeholder "http://events.yoursite.com/page"] </p> <p> What happened instead of the intended functionality? What steps took you to this issue? <br /> [textarea bug-description-4] </p> <p> When did you experience this issue? <br /> [text bug-time-4 placeholder "3:00PM on June 1"] </p> <p> Which browser/version were you using? <br /> [text bug-browser-4 placeholder "Chrome 54.0.2840.59"] </p> <p> Which operating system were you using? <br /> [text bug-browser-4 placeholder "Mac OS X 10.3.0"] </p> <p> Is anyone experiencing this issue on a different system or browser? <br /> [text bug-browser-4] </p> </fieldset> [/group] [group submit] <p>[submit "Submit"]</p> [/group]Conditions
if [howcanwehelp] not equals "" then show [submit] if [howcanwehelp] not equals "" then show [basicinfo] if [howcanwehelp] equals "I want to make a suggestion" then show [suggestion] if [howcanwehelp] equals "I received an error message" then show [error] if [howcanwehelp] equals "I have a question about my account" then show [question] if [howcanwehelp] equals "I have a question about my product" then show [question] if [howcanwehelp] equals "Something's broken" then show [bug]email body
From: [your-name] <[your-email]> Subject: [howcanwehelp] Organization: [your-org] Message Body: [your-message-1][your-message-2][error-steps-3][bug-description-4] Additional information: [url-error-3][url-bug-4] [error-time-3][bug-time-4] [error-browser-3][bug-browser-4] [error-os-3]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Clicking submit shows all fields’ is closed to new replies.