Ninja Forms - Parameter
Add ability to pass a Field Value as a parameter from a shortcode and pull them back using MergeTags
by Stephen Ostrow <stephen@ostrow.tech> · github.com/isleshocky77/ninja-forms-parameter · website
★ 0stars
180composer 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-parameter/archive/refs/heads/master.zipAlso on Packagist as isleshocky77/ninja-forms-parameter:
composer require isleshocky77/ninja-forms-parameterFrom the readme
About #
This is ninja-forms-parameter. A [Wordpress] plugin and [Ninja Forms][ninja-forms] add-on which
allows you to pass a merge tag to a form in the shortcode.
Usage ##
Merge Tags ###
Navigate to editing a Form 1
Go to Fields, Edit, Advanced, Default, and click on the Merge Tags icon
Select Parameter and change the "YOURKEY" to a key you will use (e.g. leadsource)
Short Codes ###
Navigate to editing a Page
Add ShortCode [ninja-forms-parameter YOURKEY="Your Value"] (e.g. [ninja-forms-parameter leadsource="Web Site"])
License ##
ninja-forms-parameter is licensed under GPLv3.
ninja-forms-parameter is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
ninja-forms-parameter is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public L