• 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: Preview data before submit - Problem checkbox

Preview data before submit - Problem checkbox 4 years 10 months ago #40281

Hi,
the article is excellent [url=http://https://www.rsjoomla.com/support/documentation/rsform-pro/custom-scripting/preview-data-before-submit.html]LINK[/url]

but when I return to the form from the preview and change the checkbox choice, the preview is not completely updated but the current choice is added to the previous ones, and this is wrong!

it would be useful that when we return to the form all the options are reset.
How fix it?
The administrator has disabled public write access.

Preview data before submit - Problem checkbox 4 years 10 months ago #40283

  • bogdan.tataru
  • bogdan.tataru's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 174
  • Thank you received: 40
Hello,

This is happening due to the fact that the value of the "checkGroupP" element is not being reset each time the "Preview" button is clicked. In order to solve this problem, you will have to go to Components > RSForm!Pro > Manage Forms > Select your form > Properties > CSS&Javascript > and include:

document.getElementById('checkGroupP').innerHTML='';

below the following syntax:

var j;

in the Javascript section. Afterwards test this functionality one more time.
My help is not official customer support. To receive assistance, submit a ticket by clicking here
The administrator has disabled public write access.
The following user(s) said Thank You: amministrazione454
  • 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!