Components - Password

Standard HTML text field. The properties that this component supports are:

  • Name: the name of the component. Please remember that this property must a have a non-empty and unique value within a form.
  • Caption: the caption associated with this component.
  • Required: this property specifies that the current component must have a value, otherwise the form will not be submitted.
  • Size: the size that the text box will have upon display.
  • MaxSize: whenever a text field is submitted, no more that MaxSize number of characters are saved in the database.
  • ValidationRule: verifies that the text in the text area matches a certain pattern, defined by the validation rule. Currently defined validation rules are:
  • none: no validation rule is applied
  • e-mail: checks for standard e-mail format
  • numeric: checks for numbers
  • alphanumeric: checks if the inputed string contains only numeric and alpha chars
  • alpha: checks if the inputed string only contains alpha chars
  • custom: can be used in combination with other validation rules and will extend the validation with the specified chars
  • password: this validation rule requires the user to type a default value for the field, then if the value typed by the submitter does not match the default value the field will not validate
  • * Validation Message: whenever the validation rule is not met, this message will show up in the front-end part of RSForm!Pro (that's when a user wants to submit something using the form that you've just created). Be advised that this message is also shown when the Required constraint is not met (let's suppose that we have a text box with no validation rule and with the Required property set to `Yes'. If the user tries to submit an empty text box, the validation message will appear and the the form will not be submitted).
  • * Additional Attributes(!): using this property you can set custom attributes inside the HTML tag. The most common use for this property is adding custom CSS style (using style="some style here") or for further Javascript processing (like onKeyUp="javscriptFunction();"). Naturally, you can add whatever additional attributes you like, taking into account that they must be valid for this component type.
  • * DefaultValue: you can set a default value to the text field to be displayed in the front end part.
  • * Description: the description of the text field. This will be displayed in the front end, as a textual help for the user. Use this when the Caption of the component is not self-explanatory.

Note:
Inside the Default Value area you can also use custom PHP codes in between the // and // tags. For custom scripting examples please refer to the Custom Scripting section.