kaito
Member
Hi,
I have a form with 4 elements embebed into an article:
- element 1 is a databasejoin type element: to select an id_ classroom from a database
- element 2 is a user type element (hide) to get id_user. This user element has a JavaScript to hide element 3 (CDD) if user value is a specific one
- element 3 is a cascading dropdown (CDD) watching element 1 to populate. This element is hidden/shown depending to JavaScript from element 2
- element 4 is a field type element (hide) with a PHP validation to get value coming from element 2 or element 3
This form has a redirect plugin to jump to another page "B" , and form´s parameter "Append jump url with data" is set to Yes. In the landing page "B" I retrieve the data appended in the url from elemets 1 and 4, to make dynamic sql queries for plotalot charts.
Problem is related to value stored in element 4:
- In database, value stored for element 4 is the correct one after PHP validation, this PHP validation runs and retrieves correct final value. So, no problem here
- But in redirect url, value presented for element 4 is always the value set as Default. It seems that it doesn´t get the final value obtained after PHP validation and append it to the jump url
I thougth that Redirect plugin was the latest plugin to run, so all the rest of PHP validations plugins would run before redirect plugin.
Please, any ideas to get in redirect jump url corrcet value after PHP validation (as it happens with value stored in database)?
Thanks in advance,
kaito
I have a form with 4 elements embebed into an article:
- element 1 is a databasejoin type element: to select an id_ classroom from a database
- element 2 is a user type element (hide) to get id_user. This user element has a JavaScript to hide element 3 (CDD) if user value is a specific one
- element 3 is a cascading dropdown (CDD) watching element 1 to populate. This element is hidden/shown depending to JavaScript from element 2
- element 4 is a field type element (hide) with a PHP validation to get value coming from element 2 or element 3
This form has a redirect plugin to jump to another page "B" , and form´s parameter "Append jump url with data" is set to Yes. In the landing page "B" I retrieve the data appended in the url from elemets 1 and 4, to make dynamic sql queries for plotalot charts.
Problem is related to value stored in element 4:
- In database, value stored for element 4 is the correct one after PHP validation, this PHP validation runs and retrieves correct final value. So, no problem here
- But in redirect url, value presented for element 4 is always the value set as Default. It seems that it doesn´t get the final value obtained after PHP validation and append it to the jump url
I thougth that Redirect plugin was the latest plugin to run, so all the rest of PHP validations plugins would run before redirect plugin.
Please, any ideas to get in redirect jump url corrcet value after PHP validation (as it happens with value stored in database)?
Thanks in advance,
kaito