PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Change style and behaviour of Gravity Forms

  1. Hi to all,

    first of all GravityForms is an excellent plugin. Keep up the good work. I am always looking forward to the new features of the upcoming releases and you surprise me all the time.

    My question is:
    Is it possible to mimic or copy the error handling of this website (http://www.amazeelabs.com/de/contact)?
    At the moment my website (http://www.mammut-medien.de/kontakt) uses the default error style and handling, but is it possible, with AJAX enabled, to customize GravityForms so that it only adds a class to the fields responsible for the error, so that I can style them with CSS (for example the red border of the first website). I don't like the way the default big red box around a responsible field looks and I don't really like the text in the top area of the form telling me where to look for the error.

    Simply said: When a user makes an error and hits submit, the field with the error should automatically (because of AJAX) get a red border - no big red box or text - just the red border around the field.

    Hopefully somebody in this forum can help me or has an idea how to accomplish that goal.

    Thank you very much in advance.

    Best regards,
    Daniel

    Posted 13 years ago on Thursday January 6, 2011 | Permalink
  2. Yes, that's just simple CSS stuff. You don't need to add new classes and it will work just fine with Ajax enabled. You can refer to this guide on how to properly target the validation error styles and change them to your preference.

    http://www.rocketgenius.com/gravity-forms-css-targeting-specific-elements/

    Posted 13 years ago on Thursday January 6, 2011 | Permalink