FUEL CMS Forum
Discussions
Activity
Home
›
Development
›
Modules
Sign In
·
Register
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
3.3K
All Categories
255
FUEL CMS News
112
News & Announcements
101
Share
273
Support
115
Bug Reports
90
Installation
242
Development
68
Feature Requests
117
Modules
CRITICAL SECURITY VERSION UPDATE:
https://github.com/daylightstudio/FUEL-CMS/releases/tag/1.4.13
Display fields only when editing
onegun
September 2014
edited September 2014
in
Modules
I am using form builders, how can i display some fields only when in editing mode.
currently i am using function form_fields($values = array(), $related = array())
which applies to both create and update mode
Comments
admin
September 2014
edited 11:08PM
You can check for the $values['id']. The values array will be empty if it is new and has not been saved yet.
Sign In
or
Register
to comment.
Forum Software Powered by Vanilla
Comments