Hello all
I want to pass a value to a Chronoconnectivity list to filter the list - for example to have the user select "State" in a Chronoform and then call the Connection with that parameter so that it then filters the list to records containing that value.
A similar functionality to the very easy to use DB Record Loader actions in Chronoforms.
So here is what I tried:
I have a Connection which works when executed directly - shows all records and allows filtering by the standard search. The table has a column named "State".
I have a ChronoForm which has a Text Box with field name "state". I create a Chronoconnectivity Task event in the OnSubmit event and place my Connection name in there, I select Task as List Data, and the field name "state" in the Field Name and "State" in the Data Field name - this is the column name in the table.
I place the Chronoconnectivity Task Event sequence number in the Connection Front-end in the List Task area.
When I run the form I enter a value in State Text Box and click submit. It runs the Connection but displays the basic connection as if I had run it directly with no filter - it shows all records. I note that the calling URL to the Connection does not include the parameter so it is fairly clear why it doesn't work - the question is how to get it in there.
The URL shows like this
mydomain/component/com_chronoforms/chronoform,Chronoconnectivity_Task_Test/?chronoform=Chronoconnectivity_Task_Test&event=submit
I am sure this is such a standard functionality that I have done something very simple wrong. Any clues will be much appreciated.
Cheers
Tim
I want to pass a value to a Chronoconnectivity list to filter the list - for example to have the user select "State" in a Chronoform and then call the Connection with that parameter so that it then filters the list to records containing that value.
A similar functionality to the very easy to use DB Record Loader actions in Chronoforms.
So here is what I tried:
I have a Connection which works when executed directly - shows all records and allows filtering by the standard search. The table has a column named "State".
I have a ChronoForm which has a Text Box with field name "state". I create a Chronoconnectivity Task event in the OnSubmit event and place my Connection name in there, I select Task as List Data, and the field name "state" in the Field Name and "State" in the Data Field name - this is the column name in the table.
I place the Chronoconnectivity Task Event sequence number in the Connection Front-end in the List Task area.
When I run the form I enter a value in State Text Box and click submit. It runs the Connection but displays the basic connection as if I had run it directly with no filter - it shows all records. I note that the calling URL to the Connection does not include the parameter so it is fairly clear why it doesn't work - the question is how to get it in there.
The URL shows like this
mydomain/component/com_chronoforms/chronoform,Chronoconnectivity_Task_Test/?chronoform=Chronoconnectivity_Task_Test&event=submit
I am sure this is such a standard functionality that I have done something very simple wrong. Any clues will be much appreciated.
Cheers
Tim