Recent Topics

1 Nov 28, 2017 15:05    

in inc/plugins/_plugin.funcs.php for function autoform_validate_param_value( $param_name, $value, $meta ) and $params 'allow_empty' => false

for 'type' => 'integer' a blank value is converted to 0 (Zero) and therefore never register 'blank' values. Is this correct?

ALSO:

Please can the param also support 'type' => 'text' ie:

	switch( $meta['type'] )
		{
			case 'text':
				if( $value == '' )
				{
					param_error( $param_name, sprintf( T_('The value for «%s» cannot be blank.'), $meta['label'] ), T_('The value cannot be blank.') );
					return false;
				}
				break;

This post has 1 feedback awaiting moderation...


Form is loading...