• Resolved corvoagency

    (@corvoagency)


    Hi,

    I am trying to make a quite simple form: “Single Line Text” and a button that will redirect to a page based on the input on the “Single Line Text” value. I saw other threads and, I believe, I am doing everything correctly, but I can’t make it work.

    I have disabled “Eval dynamically the equations associated to the calculated fields”. On “Single Line Text” I didn’t do any changes. On the button I selected calculate in the “Select button type” and in the field “OnClick event” I have inserted:

    redirectToURL(‘https://www.myurl.com’+fieldname1) I have also tried to substitute the ‘ by ” as well to write fieldname1 between <% and %> but nothing worked. If I make only redirectToURL(‘https://www.myurl.com&#8217;) it works fine. It seems is missing calculation.

    In the button if I tick “display “calculation in progress” indicator” it goes round and round forever.

    I hope you can help. Thanks.

    • This topic was modified 3 years, 2 months ago by corvoagency.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @corvoagency

    Assuming the fieldanme1 is the single-line text field, the code
    redirectToURL('https://www.myurl.com'+fieldname1) must be entered into the “Set Equation” attribute of the calculated field, instead of the onclick event of the button field.

    Best regards.

    Thread Starter corvoagency

    (@corvoagency)

    Hello,

    Thanks for the answer. I made it work. Thanks for your quick support.

    • This reply was modified 3 years, 2 months ago by corvoagency.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Redirect to my URL plus field’ is closed to new replies.