Populate fields using [fluentform] shortcode
Is there a way to prepopulate field values using the shortcode, like you can with URL variables?
Or a way to populate a field based on a meta field of the post it is being displayed in?
Not sure what youβre tying to achieve, but I can confirm :)
We managed to populate different fields with info about posts.
About shortcodes we toyed around with it and probably you can create a snippet for that.
So:
-
Snippet for setting the short code.
-
And there you go
we conducted a few trials with that a couple of months ago, so, itβs doable I guess :)
a couple of conversations with chat gpt on how to create the snippet may take you there
Jorge de los ReyesΒ thanks. What I'm trying to do is replicate something I can do with (shhhh π€«) Gravity Forms - https://docs.gravityforms.com/using-dynamic-population/#h-shortcode
Jonathan GwyerΒ oh, I see!
Then itβs 100% native.
https://fluentforms.com/docs/form-editor-smart-codes/
Here you have some. But you can create your own :)
Jorge de los ReyesΒ crazy I was just going to look for this very thing. lol
Formidable Forms supports using any shortcode. Not having this in FluentForms is one of the two or three primary reasons we haven't seriously considered switching to FluentForms.
Related to this, I would like FF to remember a user across forms. So for example, they take a quiz, then make a purchase or sign up for something. It should remember their name, email, and quiz result across forms, Fluent Cart, and Fluent CRM.
FluentCRM could be a central repository for this user data, per user. Or if not logged in, then a temporary session cookie to hold this data while they engage with the site?