⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

created an extension to add class names to fields and to automatically add the required attr and required class to all required fields



Trey Eckels

Trey Eckels
  • profile picture
  • Member

Posted 20 December 2014 - 09:47 AM

hey guys check it out: https://github.com/treyeckels/grocery-crud-add-classes-required

 

This allows you to add your own class names to field inputs and automatically adds the html5 required attr and a required class to any items in the crud->required fields element. 

 

Critique welcome. This is my first extension.

 

Thanks,

trey