Hello.
I would like to have two calendar fields and a button that checks some data I have in a table.
For start I created 2 calendar fields as views. Then a button that is supposed to send these dates to some event or dynamic ajax with teh following expected result:
take these dates and run a php code that extracts data from a table using these dates in the where condition of a select statement.
How should this scenario be implemented?
For start I could not even figure out how to access the dates selected in the calendars. See the scenario I tried so far.
In the debug after clicking on the button I get only the last parameter which I added for testing purposes.
Array
(
[option] => com_chronoconnectivity6
[cont] => manager
[conn] => check-dates
[tmp] => for_testing
[event] => view
)
Many thanks for your help.
I would like to have two calendar fields and a button that checks some data I have in a table.
For start I created 2 calendar fields as views. Then a button that is supposed to send these dates to some event or dynamic ajax with teh following expected result:
take these dates and run a php code that extracts data from a table using these dates in the where condition of a select statement.
How should this scenario be implemented?
For start I could not even figure out how to access the dates selected in the calendars. See the scenario I tried so far.
In the debug after clicking on the button I get only the last parameter which I added for testing purposes.
Array
(
[option] => com_chronoconnectivity6
[cont] => manager
[conn] => check-dates
[tmp] => for_testing
[event] => view
)

Many thanks for your help.