how to use read_data in php

we webcrea 26 Apr, 2018
Hi,
​
I saw that syntaxe changed $form became $this but when i do a var_dump($this), i see a big boolshit of data!!!
​
I just want to use a read_data12 how can i do please?
​
Thanks
Regards
Gr GreyHead 26 Apr, 2018
Hi Christophe,
​
Please see this FAQ - in the Request data section you will see that you can use {data:array.field} e.g. {data:read_data12.email}
​
Using the Debugger action will show you the results of the Read Data action - though there is again quite a lot of unhelpful content.
​
Bob
we webcrea 26 Apr, 2018
Hello Bob,
​
I saw the new syntaxe but it doesn't work or it's impossible to find path to data..
​
Regards
he healyhatman 26 Apr, 2018
It's in the FAQ
​
$this->get("varname", "default");
$this->data("field name", "default");
​
So for you that's
​
$this->get("read_data12", "");
we webcrea 26 Apr, 2018
Hi,
​
I saw it and it's not work.
​
Thanks
Regards
he healyhatman 26 Apr, 2018
Can you be more specific? Did it return nothing, did it return too much?
we webcrea 27 Apr, 2018
Thanks healyhatman,
I solved this issue by processing a js and a php script. You can see it here
https://www.arobasfinance.fr/sofica/comparatif-sofica
​
It should be better to use chrono functionnalities until the end of the process but not.
​
Regards
he healyhatman 27 Apr, 2018
Well if you fixed it that's great, still don't know what you were trying to do though.
we webcrea 27 Apr, 2018
I tried to use chrono features like in designer in a dropdown field.
​
how to use read_data in php image 1
​
the second dropdown
​
how to use read_data in php image 2
​
read_data
​
how to use read_data in php image 3
This topic is locked and no more replies can be posted.