Hightower Posted September 23, 2010 Posted September 23, 2010 I have a form similar to this: </pre><form action="" method="post"> </for This form is loaded in a modal box using the script available here: ModalBox — An easy way to create popups and wizards When the user submits the modal box form I want another modal box form to load, sending the data submitted to it. I've changed the form code above to this, in order to load the next modal box on submit. </pre><form action="" method="post"></form>onsubmit="Modalbox.show(PATH_TO_PHP_FILE_TO_LOAD_IN_MODAL_BOX, {title: 'Saving...', width: 400}); return false;"><br><input type="text" name="text"><b This loads the next modal box up fine, but without passing the data from the form. Can anybody help me pass the data? Many thanks, [/code]
tom_newton Posted September 23, 2010 Posted September 23, 2010 How about appending the data URL-encoded to the PHP script? That may be the only way.
Hightower Posted September 23, 2010 Author Posted September 23, 2010 Found it. It allowed for custom params, so I serialized the form data and passed it into this.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now