Web form submit before advancing
February 20, 2014 12:00 AM
I'm using an external HTML object to allow the learner to fill out a web-form, I would like to ensure the web-form has been submitted before the user can advance.
Is there anyway to accomplish this?
Discussion (6)
Hide the "Next page" button. Show it when the form has been submitted.
That's quite easy. If you can change the form code, and the form is in an iframe, just make it execute this command after submitting: window.parent.button58160.actionShow() -- of course, you'll have to replace button58160 with the correct object name in your title
or you can even execute window.parent.trivNextPage() to jump ahead immediately
Great! Let me know if it worked or you need any help with that.
Well, it's turned into a hassle to find someone who can access and edit the form.
Is there any commands I can put in the External HTML itself to achieve the desired result?
I understand the logic of what to do.
I just don't know how to write something in the external html object signaling the form has been completed to show the next button.
@ssneg 59963 wrote:
That's quite easy. If you can change the form code, and the form is in an iframe, just make it execute this command after submitting: window.parent.button58160.actionShow() -- of course, you'll have to replace button58160 with the correct object name in your title
or you can even execute window.parent.trivNextPage() to jump ahead immediately
That sounds exactly like what I need, thanks!
Discussions have been disabled for this post