Hello @lastpriceca
You’re merging different contexts in your question:
>> When a user clicks btn1, the popup pops up but I need to open tab1 meaning tab1 becomes active.
>> When a user clicks btn2, the popup pops up but I need to open tab2 meaning tab2 becomes active.
>> When a user clicks btn3, the popup pops up but I need to open tab3 meaning tab3 becomes active.
The buttons and tabs are not components of the form, your tabs contain the forms. So, the action of these buttons are not part of our plugin.
About your other equations. Yes, you can assign a class name to the form through its shortcode:
[CP_CALCULATED_FIELDS id="35" class="tab1"]In this case, the <form> tag will have assigned the class name tab1.
If you want to evaluate the equations in a form by pressing a button. For example, evaluate the equations in the form with class name tab1. You can enter the following piece of code as part of the button onclick event:
EVALEQUATIONS(jQuery('form.tab1'));Best regards.
