Ninja Forms - Session
A Wordpress plugin and Ninja Forms add-on which allows you to save form data to the current session and then use it elsewhere.
by Stephen Ostrow <stephen@ostrow.tech> · github.com/isleshocky77/ninja-forms-session · website
★ 3stars
244composer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/isleshocky77/ninja-forms-session/archive/refs/heads/master.zipAlso on Packagist as isleshocky77/ninja-forms-session:
composer require isleshocky77/ninja-forms-sessionFrom the readme
About #
This is ninja-forms-session. A [Wordpress] plugin and [Ninja Forms][ninja-forms] add-on which
allows you to save form data to the current session and then use it elsewhere.
Usage ##
Merge Tags ###
Navigate to editing a Form 1
Go to Emails & Actions and add "Save to Session"
Note the the FIELD KEY under Administration of a field (e.g. firstname)
Navigate to editing a Form 2
Go to Form Fields and configure a field
Under DEFAULT VALUE use the MergeTag {session:FIELDKEY} (e.g. {session:firstname})
Short Codes ###
Navigate to editing a Form 1
Go to Emails & Actions and add "Save to Session"
Note the the FIELD KEY under Administration of a field (e.g. firstname)
Navigate to editing a Page
Add ShortCode [nfsessionfieldvalue fieldkey=FIELDKEY] (e.g. [nfsessionfieldvalue fieldkey=firstname])
Advanced ###
Field values are stores in session:FIELDKEY
Field's Calc Values are stored in session:FIELDKEY:calc
Choice Field's Labels are stored in session:FIELDKEY:label
Session Expiration ###
By default sessions expire in 30 minutes due wpsessionexpiration
License ##
ninja-forms-session is licensed under GPLv3.
ninja-forms-session is free s