CMS MADE SIMPLE FORGE

Self Registration

 

[#9923] Add a “type” property to field objects

avatar
Created By: Stephan (10010110)
Date Submitted: 2014-03-24 06:09

Assigned To: Robert Campbell (calguy1000)
Resolution: Fixed
State: Closed
Summary:
Add a “type” property to field objects
Detailed Description:
It would be helpful to have an API method to determine the field type so that a
different output can be generated depending on the field type. For example, I
like to put checkboxes and radio buttons inside label elements while having them
separate for other form control types (e. g. input, select); but it doesn’t have
to be limited to that, there are probably many other reasons why this could be
useful.

So yeah, please add a “type” property to the objects of the $controls array.

History

Comments
avatar
Date: 2016-11-29 20:25
Posted By: Robert Campbell (calguy1000)

fixed in svn.  there is a new type field in each entry for the signup action.  
It is an integer code as used from FEU.
      
Updates

Updated: 2017-10-16 13:29
state: Open => Closed

Updated: 2016-11-29 20:25
resolution_id: => 7