Website tonight form—need help with submit button actions
wyogirly said 1 year, 1 month ago:
I want to make a disclaimer for my site so people have to agree to the terms. Then when they agree by hitting the submit button, my contact info will pop up. Currently, I have it so when they hit ‘submit’, it goes to a page (not accessible by the navigation bar) with the info on it. My problem is that it wastes a whole page of my plan to do that. Is there a way to have my info pop up on the same place as the disclaimer so I don’t have to use another webpage (I have the 5 page plan.)
adamr said 1 year, 1 month ago:
@wyogirly
You can use javascript to create a pop up windows that displays your contact information within the same page.
http://www.w3schools.com/js/js_popup.asp
You’ll want to insert the javascript code into a script block:
Adding Scripts to WebSite Tonight
-Adam
wyogirly said 1 year, 1 month ago:
You are the awesomest! Thanks!
thesuperchic said 1 year ago:
Adam, your post with the javascript website is awesome and very helpful. From somebody who is not tech savy at all, I created my own pop window for my registration page submit button, and I didn’t have to waste a full page of my website to do it. Thanks for your post.
4 min expected wait time