• 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: Customizing the error messages adn UTF-8 problems

Customizing the error messages adn UTF-8 problems 15 years 2 months ago #6834

Hi all!

I use RSForm PRo form my website.

Right now it's the trial version, we are going to buy it when the site will be on the real domain name.

I have 2 questions :

- I have in mind to put the error message at the top of the contact form with a special CSS. See http://dev.tagexpert.be/vinopres/index.php?option=com_rsform&Itemid=41&lang=fr

The problem is thath I want to enabled the div with the errors after submitting.
Right now I can make check (with swicth or is_set or whatelse) to see if the forms has errors.

So it shows the yellow box.

Any idea about how I can do this ?

- We use UTF-8 and I saw thaht we have to modifu the adpater.php file ti replace a line. But in the adaptater file, all is coded with eval(base64.

Is it going to dissapear when we buy it or is there another way to set the queery in UTF-8 ??

Thanks!

PS : sorry for my english...
The administrator has disabled public write access.

Re:Customizing the error messages adn UTF-8 problems 15 years 2 months ago #6844

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

You can easily achieve this by altering the Form Layout code. More precisely... this portions:

<div class="formClr"></div>{test:validation}

these are responsible for the validation messages. You can put therm anywhere you wish...

Regarding the language issue... Upon updating the full version you will have access to the source code and modify it according to your needs.
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:Customizing the error messages adn UTF-8 problems 15 years 1 month ago #6857

Thanks for the answers.

I already modified the form layout to fit my needs but how can I do this only when errors occurs ??

I want to show the error div (with a custom CSS) only when errors occurs.

<div id="errors>
<ul>
<li>{test1:validation}</li>
<li>{test2:validation}</li>
<li>{test3:validation}</li>
</ul>
</div>

when errors occurs

nothing at start.

Is it possible ?
The administrator has disabled public write access.

Re:Customizing the error messages adn UTF-8 problems 15 years 1 month ago #6895

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

If you took a look at the components/com_rsform/front.css file you will notice that the formClr class has display: block; attribute. You should assign the formClr class to your list items... For example:

<li class="formClr">{test1:validation}</li>
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.
  • 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!