• Resolved ehdcs

    (@ehdcs)


    I have a WS Form (plugin) form that is currently called from the submissions page with the preview button using href=”<domain>/?wsf_preview_form_id=<id>&wsf_skin_id=ws_form&wsf_rand=VixqbHqEFu4S” target =”_blank”, where <ID> is the unique form number. I would instead like the preview button (or new button) to call a page specific to the <ID> using target = “_self”. How can this be done outside the plugin code, using say functions.php? I am stumped because there is no page name for wp_redirect and I am not sure how to handle the <ID>.

Viewing 1 replies (of 1 total)
  • Plugin Author Mark Westguard

    (@westguard)

    Hi @ehdcs

    Thank you for your inquiry.

    Preview links always open in a new window. This allows you to edit the form while referring back to the page you were on. The link on the form edit page offers a real-time update in conjunction with this functionality.

    As such, the target of the link cannot be changed.

    Mark

Viewing 1 replies (of 1 total)
  • The topic ‘Admin form redirect with ID’ is closed to new replies.