ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Passing parameter value to field in a form

ataylor14 15 Feb, 2018
In chronoforms one can pass a parameter in the url which can be captured by a field on a form that has the same id as the parameter passed in the url.

I am trying to have this same effect using chronoconnectivity 6.
Here is what I have:

{fn:php} where I return as var a value called say php_var
{view:toolbarbutton} I call an event using the php_var as a URL parameter: book_id={var:php_var} - this goes in the URL box
The event called by the toolbarbutton calls a form that has a field with the same id as the name php_var.
But no value gets received.

What am I doing wrong?
Thank you
Amelia
ataylor14 15 Feb, 2018
Answer
Sorry
I had a mistake in the PHP function as it was returning nothing hence I was not sending any parameter.
The reason was that I had to link this php with calling the function to read data again before the toolbarbutton used the parameter in the url.

Not sure if I am making any sense at all. for other people.

But sorry for posting before checking all my steps.
Regards
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com