Remove html-tags when saved
-
Hi! Carbon Fields – very useful plugin! Thanks to the development team!
It would be nice to be able to remove html-tags when the values of the text fields are saved. And the ability to remove leading and trailing spaces.
Is something like this:
Field::make('text', 'crb_title', 'Title')->set_striptags(''); Field::make('textarea', 'crb_description', 'Description')->set_striptags('<strong><b><br><a>'); Field::make('text', 'crb_name', 'Name')->set_striptags('')->set_trim(true);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Remove html-tags when saved’ is closed to new replies.