• Go to Formidable Forms Official Site
  •  Login
  •  

Log In

Forgot Password

Search

Formidable Forms Community Site

Timothy Fisher

Unable to dynamically change the frm_redirect_url inside a shortcode.

Is it possible to add an attribute to a formidable shortcode that would allow you to set the redirect success_url? I've tried the formidable_shortcode_atts hook with no luck: add_action('formidable_shortcode_atts', 'formidable_shortcode_atts', 20, 2); function formidable_shortcode_atts( $atts, $all_atts ) { if ( isset( $all_atts[ 'redirect_url' ] ) ) { // do something to update the success_url in the form. } } I know that there is a frm_redirect_url hook, but I haven't been able to make that work inside of my shortcode.

Navigation

  • Privacy Policy
  • Formidable Forms for WordPress

Discussions

  • An add-on
  • Creating posts/pages
  • Emails
  • Entries
  • Filter & Action Hooks
  • Forms
  • Getting Started
  • Importing/Exporting
  • Javascript
  • Reports, Graphs and Statistics
  • Styles
  • Styling
  • Tips & Tricks
  • Views

Disclaimer

The purpose of this site is to help members of the Formidable Forms Community interact with one another, provide examples of custom code and help others with topics that may not be covered by support on the main Formidable Forms website. If you are seeking support from the Formidable Forms team, please create a ticket on the Formidable Forms website.

Copyright © 2021 Strategy11, LLC