-
Notifications
You must be signed in to change notification settings - Fork 146
Description
Hi,
Is it possible to add global variable support, across all of my SQLPage webpages.
I could be wrong, but I believe this is not a feature in SQLPage.
Currently I am working with 3 different form submissions, which updates a single row in my database.
This row has to be updated later on a separate page.
The reason I am using 3 form submissions is:
1st Form, The user Selects a Client. (Using a select box) (Creates a row)
2nd Form, The user Selects a Fleet based on the Client selected in the previous form. (Using a select box) (Updates the created row)
(The use of pre-defined select boxes allows me to prevent human error)
3rd Form, The user Submits information that has to update the row created in the first form.
Currently I am setting the type = hidden
, essentially populating the input with a reference number that has been auto generated in the previous form and carrying it over the forms. I get the same results when setting the input to readonly
.
Without this I have no way of referencing which row to update in the database.
The problem with this solution it is not as neat, because it either results in a blank space or a input box with no purpose.
Possible solution:
I am not sure if it is possible, but keeping the already supported local variables syntax mentioned in #49 and enabling it to act as global variables as well?