I try to use simple PHP code in PHP action block to retrive data from text field with this code
if ($this->data('text_12') == "Yes!"){ return "Reload"; } else { return $this->data('text_12');}on debug this PHP block have no any value.What's wrong?
The issue occurs when using incorrect syntax to reference form field values within the PHP action code.
Ensure the PHP action is placed in the correct form processing tab, such as the Submit tab, and use the proper syntax to retrieve the field data.
I try to use simple PHP code in PHP action block to retrive data from text field with this code
if ($this->data('text_12') == "Yes!"){ return "Reload"; } else { return $this->data('text_12');}on debug this PHP block have no any value.What's wrong?