The file works but I want to use my own submit button instead of the in-built one and I do not know how to make it work. Any help would be greatly appreciated. I have attached my file.
In order for your own button to work, the triggers that would be associated to the in-built submit button, just need transferring onto your own button. You can do this by highlighting the trigger, and copying/pasting onto the custom button. Ultimately, the main trigger you need, is submit interaction when user clicks your custom button. In Story view, you can remove the in-built submit button.
I've set mine up using a freeform format, and then having a feedback button as the 'correct' answer. And to take it a step further, if I wanted to be sure the user was putting in the correct answers, I added triggers like this:
When user clicks submit_btn (or whatever you have named it) Change state of 'feedback_btn' to selected Show Layer 'Correct' IF textentry1 = value (whatever the value is here) -- and repeat for all text entry fields you have Sumbit Pick One 1
When user clicks submit Change state of 'feedback_btn' to selected Show Layer 'Incorrect' IF textentry1 != value (whatever the value is here) -- and repeat for all text entry fields you have Sumbit Pick One 1
Otherwise, regardless of whether they get it right or not, if you're showing some sort of feedback layer, the triggers would be like this:
When user clicks submit_btn Change state of 'feedback_btn' to selected Show Layer 'Thanks' Sumbit Pick One 1
The order is important, the submit interaction should be the last step.
Thanks. It works. To be fair, I only followed the instructions in your first paragraph. You lost me after this, I am only a beginner :-) Anyway, thank you again very very much!
2 Replies
Hello,
In order for your own button to work, the triggers that would be associated to the in-built submit button, just need transferring onto your own button. You can do this by highlighting the trigger, and copying/pasting onto the custom button. Ultimately, the main trigger you need, is submit interaction when user clicks your custom button. In Story view, you can remove the in-built submit button.
I've set mine up using a freeform format, and then having a feedback button as the 'correct' answer. And to take it a step further, if I wanted to be sure the user was putting in the correct answers, I added triggers like this:
When user clicks submit_btn (or whatever you have named it)
Change state of 'feedback_btn' to selected
Show Layer 'Correct'
IF textentry1 = value (whatever the value is here) -- and repeat for all text entry fields you have
Sumbit Pick One 1
When user clicks submit
Change state of 'feedback_btn' to selected
Show Layer 'Incorrect'
IF textentry1 != value (whatever the value is here) -- and repeat for all text entry fields you have
Sumbit Pick One 1
Otherwise, regardless of whether they get it right or not, if you're showing some sort of feedback layer, the triggers would be like this:
When user clicks submit_btn
Change state of 'feedback_btn' to selected
Show Layer 'Thanks'
Sumbit Pick One 1
The order is important, the submit interaction should be the last step.
Thanks. It works. To be fair, I only followed the instructions in your first paragraph. You lost me after this, I am only a beginner :-) Anyway, thank you again very very much!
This discussion is closed. You can start a new discussion or contact Articulate Support.