Support is currently limited. Click here to see our hours of operation. Open Closed Add-ons Conditional logic or calculations Emails Entries Export and Import Form Building Form Settings Graphs and Stats Installation and Updating My Account Praise Question Styles Suggestion Tips & Tricks Views and Posts My Help Desk My Tickets Subscribed Voted Filter Tickets New Ticket How to modify [error_class]? Labels Form Settings This ticket is public Notifications Brent Kozlowski January 10, 2017 at 8:45 am I need to filter/change [error_class] to the Bootstrap 4 class "has-danger". Any snippets you can share? Skyler Osborn Moderator January 10, 2017 at 11:27 am Hi, This hook should do the trick: https://formidableforms.com/knowledgebase/frm_field_div_classes/ Alternatively, you could take this approach: https://formidableforms.com/knowledgebase/frm_replace_shortcodes/ You could also change the values in the browser with Java Script by monitoring the class changes to a field when an error is generated, and then replacing those classes with 'has-danger', or some combination of both (depending on which version best fit the desired outcome). Brent Kozlowski January 10, 2017 at 11:33 am I don't understand how this would help? I need the class to only fire if there is an error. This would just add the class with out any conditions. Jamie Moderator January 10, 2017 at 12:33 pm Just FYI, I would probably use the frm_field_div_classes hook that Skyler mentioned. I would check if the classes includes 'frm_blank_field'. If it does, then I would add ' has-danger'. Reply to this Ticket Cancel replyYou must be logged in to post a comment.