• 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: Questions after purchase

Questions after purchase 10 years 9 months ago #28412

  • info4346
  • info4346's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
Hi,

I´m testing the demo site and reading the documentation but I still don´t know if this component suits all my needs... my questions are these:


1.- I have this code in the default value of a textbox field and it works but... how can I make this with an external dabase?

//<code>
$db =& JFactory::getDBO();
$db->setQuery("SELECT username FROM mo5yi_users WHERE email=' This e-mail address is being protected from spambots. You need JavaScript enabled to view it '");
$result = $db->loadResult();
$result =$result.'SUFIJO';
return $result;
//</code>

2. - how can I get the value of a previus field (before submitting the form) to use it in the previous select? I mean instead of using WHERE email=' This e-mail address is being protected from spambots. You need JavaScript enabled to view it ' something like WHERE email=EMAIL(VALUE). This would be something similar to calculation field but getting values from an external database.

3. - How can I force going to next page (in multipage form) when checking an option box without having to press the NEXT button.

4. - If I go back (in multipage form) how can I uncheck any options in an option box?

5. Is there a way to disable validation only in back button but not in next button?

5. - How can I customize the pdf and email?

Thanks a million and keep the good work!!
The administrator has disabled public write access.

Questions after purchase 10 years 9 months ago #28413

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
1. In order to connect to an external database, please relate to the following article:
http://docs.joomla.org/Connecting_to_an_external_database

2. To achieve this scenario, you will have to use AJAX. Keep in mind that it will require solid scripting knowledge.

3. You can call the change page function on what field you like (the function to change page is rsfp_changePage)

4. On a multiple selection list, you can deselect an item by clicking it while holding the control button.
www.rsjoomla.com/support/documentation/v...le/827-dropdown.html

5. The validation is performed only when clicking on the "next" button, not on the "previous".

6. You can configure the emails as per instructions from this article:
http://www.rsjoomla.com/support/documentation/view-article/74-how-to-configure-emails.html

The PDF's layout can be customized as well, information on this topic can be found here
http://www.rsjoomla.com/support/documentation/view-article/747-rsform-pro-pdf-plugin.html
My help is not official customer support. To receive your support, submit a ticket by clicking here
Last Edit: 10 years 9 months ago by cosmin.cristea.
The administrator has disabled public write access.
The following user(s) said Thank You: info4346

Questions after purchase 10 years 9 months ago #28416

  • info4346
  • info4346's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
Hi Cosmin,

Thanks a lot for your help.

Aabout the question 4 I will try to explain it better.

4. - If I go back (in multipage form) how can I uncheck any options in an option box?

The situation is as follows:

I have a multipage form, in the first page I only have a RADIO GROUP where no option is checked by default, I choose an option and go to next page. Then I click back button and the browser remembers the option I selected first time. I don´t want this to happen, so I want no option cheked again.

I don´t want to reset the form just that option group, because I can face the same problem in next pages too...

Thanks a lot!!
The administrator has disabled public write access.

Questions after purchase 10 years 8 months ago #28426

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
For example you can create a javascript function like the one I provided below, and call it when clicking the previous button.
function resetSelection(){
document.getElementById("radio_field_name").reset();
}
My help is not official customer support. To receive your support, submit a ticket by clicking here
The administrator has disabled public write access.

Questions after purchase 10 years 8 months ago #28457

  • info4346
  • info4346's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
Hi again, my friend.

My radio group name is: genero.

I have this in Additional Attributes of my button: onclick="limpiar();"

And in the Javascript of the form I have this:
<script type="text/javascript">
function limpiar(){
document.getElementById('genero').reset();}
</script>

Well, It DOES NOT WORK and I can´t understand why.

I also would like it to work in the back button of a multipage.

¿Can you please help again?

Thanks a lot in advance
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!