Hi experts,
I want to do this in Visual Composer 7.0.
1. A form view that contains an input field.
2. Based on the input of the form, go to SQL DB, retrieve a list of data back.
3. The user should be able to pick multiple values from the returned result, then go to DB, get another set of data back.
My design to achieve this is:
1. Create a form view with one input field
2. Call stored procedure, put the returned results in a table view.
3. Add a column with chechbox before each table row. Then add a submit button with action on control bar of the table view to submit the checked rows. Call a SQL store procedure to retrieve the next set of data based on the selected value.
Now the issue pops. How do I submit the multiple checked value from table view to SQL stored procedure(SP)? What format of data get passed to SP? How do I write the SP to accept dynamic values?
If this is not the good VC model design, then what should I do to achieve my goal? Thanks in advance for any sugguestions.
Natalie