Jump to content

Bootstrap form validation POST textbox values


ScreamerHS

Recommended Posts

I'm using the following script: http://jsfiddle.net/VzVy6/8/

It give a alert message that slide in/out when a required field is still empty on submit.
The script works fine, and in this example its only one field.

When the field is empty I see the fade in alert message, and when the field has been filled in I see a normal popup alert message:  alert("Would be submitting form");

I can't get it to work to change this alert message to a page POST submit. I was looking online, and I see Ajax examples that I don't get to work.

What I want is that when all fields are filled in, that the form POST submit to another page including the values in the textboxes ofcourse.

Maybe its something really easy, but I have already a headache because tried to get it to work for more then 5 hours in a row.

Thank you for your time.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.