• 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: Javascript inside Thankyou page

Javascript inside Thankyou page 12 years 9 months ago #18128

  • philgib
  • philgib's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Hello guys,

I need to add some JS to the thankyou page so that it increases my stats when thankyou page is showing.

Do you know where I could insert it / how ?

Thank you very much

Philippe
The administrator has disabled public write access.

Re: Javascript inside Thankyou page 12 years 9 months ago #18136

  • philgib
  • philgib's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Answering for myself but may help others

I found the "validation.php" file in com_rsform/helpers/ which seems to accept PHP right after the click on the submit button and right before showing the "thankyou" page

Now I cannot seem to have a javascript working in there, only PHP ???
I am using echo "<script>console.log('Test JS OK')</script>"

Nothing shows on the Firebug console...

Any help please ?
The administrator has disabled public write access.

Re: Javascript inside Thankyou page 12 years 9 months ago #18148

  • philgib
  • philgib's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Searching even further, it looks like the email script accepts JS...

Any input from other users appreciated
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!