cancel
Showing results for 
Search instead for 
Did you mean: 

Visual Composer Dynamic Eventing

Former Member
0 Kudos

Hello All,

I have 3 BI Query and needs to develop Visual Composer Application.

All query will take Year as Input value and display Table as Output.

I have to display Query 1 result always and Query -2 and Query -3 result should be depends on input Radio Button.

I should have One Input Text box (for "Year" input and two radio button called Radio-1 and Radio-2)

If user enters Input value for "year" and Radio-1 selected then i have to display Query -1 and Query-2 Result.

If user enters Input value for "Year" and Radio -2 selected then i have to display Query -1 and Query -3 Result.

Any idea how to do this in visual composer.

Apreciated your time.

Regards

Vijay

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Vijay,

Simply create a custom event to the radio group control.

Then draw lines with this event to queries 2 and 3.

Finally, set the visibility condition of the result tables according to the group button.

You can create conditioned event instead of the visibility condition if you like.

Regards,

Shay

Former Member
0 Kudos

Hello Shy,

Thanks for your response.

Can you tell me how to do the conditional event in Visual Composer.

if there is any document or link please send it to me.

Thanks

Vijay

Former Member
0 Kudos

Hi Vijay,

All you need to do is to double click the event line and in the configure element pane (on the left) add a gaurd condition.

Regards,

Shay

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Another way can be to store the value regarding which button is selected in a datastore and then form a condition to execute the query depending upon this value

Thanks & Regards

Harsimran