• Resolved Nathan Hawkes

    (@natehawkes)


    Hi,

    I am using Ninja Forms at the moment to create some forms, and I have stumbled across Caldera Forms. So far, I absolutely love it, can absolutely see a billion places where I have used NJ and even Contact Form 7 that will be completely replaced by Caldera, but there is one thing I need help in. Well, two, but I’ve opened another request for that.

    In one of my NJ forms, I have some fields that require some information to be fed into it, both from the page and through $_GET tags. I’ve had it working in CF7 and NJ, but I can’t see how to get it working in Caldera.

    I want to create one single form for event registration, so one of the tags I would like to pass through is the title of the event. Currently, I am using a hook in NJ to change the default value to whatever it is in the_title(). The second is the cost of a single ticket, especially since I know you have a wonderful built-in calculator that seems to work perfectly for what I need. I’ve used the same hook for the title to $_GET the variable from the URL.

    Is there a way, either via a PHP hook or via the form itself, to pull that information in?

    https://www.ads-software.com/plugins/caldera-forms/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change default values based on page data and $_GET variables’ is closed to new replies.