• 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: Not working - Preview data - Dropdown Box Value

Not working - Preview data - Dropdown Box Value 11 years 5 months ago #25711

  • lking
  • lking's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 24
Hello,

I'm not sure how do we preview the data before submission while using a dropdown box. I found the following page that works very well in other input boxes but it just that I can't preview the data again if I click on PREV and select another value in the "Dropdown box".

www.rsjoomla.com/support/documentation/v...a-before-submit.html

I created a dropdown box, named "aaa" and I use the following script to get the value of dropdown box to preview the selected data before submission. It works well ONLY in the first time when I click on NEXT button but IF I click on PREV button and change the dropdown to other value, it stops functioning and can't even preview the data anymore (even if I select the same value as before too). May I know which part of my codes is having problem? Should I use FOR LOOP for this? If yes, how to write it?

<script type="text/javascript">
function preV(param1, param2, param3, param4)
{
if (param2 == 1 && param3 == 1)
{
document.getElementById('aaaP').innerHTML = document.getElementById('aaa').value;
}
rsfp_changePage(param1, param2, param3, param4);
}
</script>

Please help......... I need to get this fix asap....
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!