• 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: Problem in display value

Problem in display value 14 years 2 months ago #10006

  • spipeur
  • spipeur's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hi,
I am using the "tab script" in order to have a form in 3 or 4 pages. In the first page I have a dropdown menu and I want to display the value selected of this dropdown menu in the next page.
Could you please tell me how can I do this "step by step".
thanks in advance
SPIPEUR
Last Edit: 14 years 2 months ago by spipeur.
The administrator has disabled public write access.

Re:Problem in display value 14 years 2 months ago #10048

  • bogdanc
  • bogdanc's Avatar
  • OFFLINE
  • Moderator
  • Posts: 669
  • Thank you received: 11
Hello,

You can try adding a small script like this one in the Form Layout tab of your form:
<script type="text/javascript">
function dropdownValue()
{
document.getElementById("field_name").value=document.getElementById("field_name1").value;
}
</script>

This way when a certain value in selected in the first field it will be set as a default value for the second drop-down field also.

And you will have to add in the Additional Attributes box of the first drop-down field the following code line:
onclick="dropdownValue();"

Let me know if this works for you.
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!