Insert required and placeholder
add_action(‘frm_field_input_html’, ‘add_input_html’); function add_input_html($field, $echo=true){ $html = ”; if($field[‘id’] == 25){ //change 25 to the ID of your field $html = ‘ required=”required”‘; } if($field[‘type’] == ‘number’){ $html = ‘ placeholder=”2″‘; } if($echo) echo $html; return $html; }Continue reading