isleshocky77/ninja-forms-session
Composer 安装命令:
composer require isleshocky77/ninja-forms-session
包简介
Wordpress plugin and Ninja Forms add-on which allows you to save form data to the current session and then use it elsewhere.
README 文档
README
This is 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.
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. first_name)
- Navigate to editing a Form 2
- Go to Form Fields and configure a field
- Under DEFAULT VALUE use the MergeTag {session:FIELD_KEY} (e.g. {session:first_name})
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. first_name)
- Navigate to editing a Page
- Add ShortCode [nf_session_field_value field_key=FIELD_KEY] (e.g. [nf_session_field_value field_key=first_name])
Advanced
- Field values are stores in session:FIELD_KEY
- Field's Calc Values are stored in session:FIELD_KEY:calc
- Choice Field's Labels are stored in session:FIELD_KEY:label
Session Expiration
By default sessions expire in 30 minutes due wp_session_expiration
License
ninja-forms-session is licensed under GPLv3.
ninja-forms-session 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-session 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 License
along with ninja-forms-session. If not, see <http://www.gnu.org/licenses/>.
统计信息
- 总下载量: 244
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL3
- 更新时间: 2017-01-10