Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @wpvale

    Thank you very much for using our plugin. You can get it with a conditional operation:

    v1 = getField('fieldname1').val();
    redirectToURL(
        IF(v1 == 1, 'https://www.mysite.com', 'https://www.othersite.com'), 
        {param1:v1, param2:getField('fieldname2').val(), param3:getField('fieldname3').val()}
    );

    Best regards.

    Thread Starter wpvale

    (@wpvale)

    works like a charm! thanks for the help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Variable on onclick event of button field’ is closed to new replies.