• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Top Error Validation Message

Top Error Validation Message 15 years 11 months ago #7352

  • Mounir
  • Mounir's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
How could I add an error alert on top of the form when the validation fails ?
Like this :
Code:
<div class="alert">Some fields can't validate, please check the form again</div>... and next RSform!Pro...

Thank you
The administrator has disabled public write access.

Re:Top Error Validation Message 15 years 10 months ago #7493

I want to display an error message ON THE TOP of the form, not within the text. How can that be done?
The administrator has disabled public write access.

Re:Top Error Validation Message 15 years 10 months ago #7523

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
Hello,

Just place this script in the Scripts called on form display area:

if(isset($_POST))
echo '<div class="alert">Some fields can't validate, please check the form again</div>';
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Re:Top Error Validation Message 15 years 6 months ago #8559

Sorry, on ja_berryl this does not work. Nothing shows up. Any hints or ideas?

I definitely need the error on validation on TOP of the form. Many users won't see it if it is near the bottom.

Thanks

C.
The administrator has disabled public write access.

Re:Top Error Validation Message 15 years 6 months ago #8561

Hello Admin,
can you help me how to change the (*) on the required fields captions to just a *?

Any help much appreciated!
The administrator has disabled public write access.

Re:Top Error Validation Message 15 years 6 months ago #8562

Hey anyone know how to change the (*) on the required fields captions to just a *?

I know a bit of PHP etc but I can not find the code where it adds the (*) to the caption text.

Any help much appreciated!:(
The administrator has disabled public write access.

Re:Top Error Validation Message 15 years 6 months ago #8566

Please, I need the Error message on top of the form. How can I do that?
The administrator has disabled public write access.

Re:Top Error Validation Message 15 years 6 months ago #8582

Solution from support:

if(!empty($_POST))
echo 'your HTML message here';
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!