| bindappfwprofile_fieldformat |
Use this method to bind fieldformat to appfw profile. |
Syntax |
Parameters |
name |
Name of the profile to which to bind an exemption or rule. This is mandatory parameter. |
fieldformat |
Impose the specified format on content returned by users in the specified web form field.
A field format rule consists of the following items:
* Form field name. The name of the form field.
* Form action URL. The form action URL for the web form.
* Field type. The field type (format) to enforce on the specified web form field.
* Field format minimum length. The minimum length allowed for data in the specified field. If 0, field can be left blank.
* Field format maximum length. The maximum length allowed for data in the specified field.
* IsRegex flag. The IsRegex flag, followed by YES if the URL is a regular expression, or NO if it is a literal string. |
formactionurl |
Form action URL. |
fieldtype |
Field type. |
fieldformatminlength |
Field format minimum length. Default value = AS_DEFAULTFIELDFORMAT_DEFAULT_MIN_LEN. Maximum value = AS_FIELDFORMAT_MAX_LEN. |
fieldformatmaxlength |
Field format maximum length. Default value = AS_DEFAULTFIELDFORMAT_DEFAULT_MAX_LEN. Minimum value = 1. Maximum value = AS_FIELDFORMAT_MAX_LEN. |
isregex |
Is a regular expression? Possible Values : REGEX, NOTREGEX. |
Return Value |
Returns simpleResult |
See Also |