Hi,
First of all, I am sure the answer is already within this forum somewhere. But when I ws searching for it, and visited threads that might have the solution, I saw always
__CODE__0
or
__CODE__1
etc instead of actual code.. and thus I didn't see the part that might have showed me the answer. Maybe a bug in your Forums?
Well anyway, here is my question:
I am placing a Custom Code -action to On submit section to handle whatever user has selected from dropdown I put to form.
It tells me " If you want to display the value of a form input then enter the field name inside curly brackets e.g. {my_input_name}." which is true if I use the curly brackets inside HTML, but if I use there PHP, i.e.:
echo {dropdown1};
the whole custom code is not run. Of course I would use it differently (selecting different things acording to value), but I made that for testing purposes, if I can get the value from the PHP section there. So how can I retrieve the form values to PHP area of Custom Code?
First of all, I am sure the answer is already within this forum somewhere. But when I ws searching for it, and visited threads that might have the solution, I saw always
__CODE__0
or
__CODE__1
etc instead of actual code.. and thus I didn't see the part that might have showed me the answer. Maybe a bug in your Forums?
Well anyway, here is my question:
I am placing a Custom Code -action to On submit section to handle whatever user has selected from dropdown I put to form.
It tells me " If you want to display the value of a form input then enter the field name inside curly brackets e.g. {my_input_name}." which is true if I use the curly brackets inside HTML, but if I use there PHP, i.e.:
echo {dropdown1};
the whole custom code is not run. Of course I would use it differently (selecting different things acording to value), but I made that for testing purposes, if I can get the value from the PHP section there. So how can I retrieve the form values to PHP area of Custom Code?
I got it actually already, I just used normal $_POST. method: echo $_POST["dropdown1"]
So this is already solved..😉
So this is already solved..😉
This topic is locked and no more replies can be posted.
