Skip to main content
Participant
August 24, 2009
Question

Spry Validations - "thank you" message!

  • August 24, 2009
  • 3 replies
  • 740 views

Hi friends,

I was trying to figure out the way how to add a message when all my checks are valid, i mean, after you press the submit button (if you validations are ok) then should appear a message like "Thank you! all your info has been update successfully".

I tried with JavaScript with an "alert("message");" into my SpryValidationCheckbox.js

but im not sure where to add it

all suggestions will be welcome!

This topic has been closed for replies.

3 replies

Participant
August 25, 2009

it works!!! 

as soon as possible i will post the solution.

best regards

Participant
August 25, 2009

I only added one line -- return ray.ajax(); -- when all validation has been passed right before return come true.

code_validation.jpg

I wish I could do it with the Spry Validation too. Any ideas?.

Participating Frequently
August 24, 2009

A thankyou message should appear after the form is successfully submitted, not after validation. So put the thank you in your server side script that is processing the form.

Participant
August 25, 2009

Thank you for your answer bregent,

Ok im going to be honest, this form have an image upload, so after submit i have an Ajax that show you "Uploading image, please wait" unfortunately is no possible to do it in the server side.

I'm just want to know, where is the last "return" into the JavaScript that let you send the information?

I will really appreciate any help!