Cat attributes Osclass plugin for Cat classified
Plugin enables to add 10 different types for fields:- Select box - supports up to 8 levels of cascading dropdowns. Ideal for car attributes.
- Radio buttons - select one from multiple options
- Checkboxes - select one or more from multiple options. (can be required field as well)
- Text - short text or number
- Text area - long text, suitable for job attributes (resume, ...)
- Date - date selector
- Date range - date range selector
- URL - link format, checked with HTML5 validation
- Phone - phone number format, checked with HTML5 validation
- Email - mail format, checked with HTML5 validation
For correct functionality of required fields, theme must have correctly setup jQuery validation methods and should not contain any javascript errors. HTML5, javascript and PHP validation for required fields is applied.
Attributes are shown on item page using hook, so it does not require theme modification, however it's possible to show fields on different places then hooks, or simply each field on different position adding following code into theme files: