Plugin: Formidable
- Added a css class option to the field options with predefined CSS classes for multi-column forms:
- frm_left_half, frm_right_half
- frm_left_third, frm_third, frm_right_third
- frm_left_fourth, frm_fourth, frm_right_fourth,
- frm_left_inline, frm_inline, frm_right_inline
- frm_full
- frm_grid_first, frm_grid, frm_grid_odd
- Added the option to add a class to an input. In the customizable HTML, change [input] to [input class="your_class_here"]
- Added an input mask option available via the $frm_input_masks global and ‘frm_input_masks’ hook.
//format field #25 as a Social Security number add_action('frm_field_input_html', 'add_input_html'); function add_input_html($field){ if($field['id'] == 25){ //change 25 to the ID of your field global $frm_input_masks; $frm_input_masks[$field['id']] = "999-999-9999"; } } - Added options to custom display shortcode: [ display-frm-data id=5 get="whatever" get_value="value"]. This allows the use of [get param="whatever"] in the custom display.
- Added “inline” option to label position options to have a label to the left without the width restriction
- Switched out the case-sensitive sorting in data from entries fields
- If a custom display has detail link parameters defined, ONLY allow those parameters
Hi, how exactly can I use the input hook?
Can you please post in the help desk with more detail about which feature you’re referring to?