• 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 and retreive php variable

javascript and retreive php variable 11 years 7 months ago #24890

is rsforms able to pass php variable in javascript?

in php Script called on form display i setup a query to acces a vlaue in DB
the query itself is working

at the end
echo @myphpvar;

normaly i'll add in javascript something like this

function somefunction() {
var myjavascriptvar = "<?php echo $myphpvar;?>;"
alert (myjavascriptvar);
}

In forms it returns the string "<?php echo $myphpvar;?>;"

How to achieve this?
The administrator has disabled public write access.

javascript and retreive php variable 11 years 2 months ago #26688

  • bradymc
  • bradymc's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
Did you ever figure out how to get this to work? I'm running into the same scenario.
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!