WARNING: concrete5 5.6 and earlier are end-of-life. Sales from the marketplace have now ended. Click here to learn more about this transition.

Lerteco Advanced Text Attribute

Add a text attribute to your site that includes advanced validation (e.g. URL, email address), including RegExp. Also, formatting of the output value.

This package could be so much more; contribute to it on Github.

This is a replacement for the existing c5 text attribute. It behaves the same, but allows you, during setup (ie, the place where you define the handle), to add validation and formatting options. The following are the existing validation options:

  • Format
    • None (will behave the same as current c5 text attribute)
    • URL (must be in URL format)
    • Email (must be in email format)
    • RegExp (you can provide a regular expression that the field is formatted against)
  • Required - Requires a value to be entered

Validation is done in javascript with the excellent jQuery Valdation plugin. (Server side validation should be added in the future, but is difficult because attribute editing isn't done in isolation -- it's part of a larger form.)

Additionally, you can choose that, when not being edited, the value is formatted. For example, if it's validated as a URL it'll be displayed as a clickable URL.

Add to Cart

Sales have ended due to EOL

Approved by PRB

Our 30 Day Support Policy

  • Replies to tickets every few days.

Support Hosted

  • On marketplace.concretecms.com