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.

capitalization of user submitted values

  1. Is it possible to convert all values submitted by the user to Capitalized Case? I am trying to end up with data which is as tidy as possible to be used in an offline process. Ideally I would be able to apply this to particular fields such as Name and leave Comments / Your Message as is.

    Thanks in advance for any help or advice.

    Posted 12 years ago on Wednesday March 21, 2012 | Permalink
  2. This is not built in functionality of Gravity Forms. There is no option that can be enabled that will do this for you.

    You would have to implement this as a customization. You would need to use the gform_pre_submission hook to get the value of the field(s) and manipulate it so that it uses the casing you require.

    The gform_pre_submission hook is documented here:

    http://www.gravityhelp.com/documentation/page/Gform_pre_submission

    You would write custom code that uses that hook to manipulate the submitted data before it is saved. You would place your custom code either in your themes functions.php file, or you could create your own custom plugin that contains your custom code that you then activate on that site.

    Posted 12 years ago on Wednesday April 4, 2012 | Permalink

This topic has been resolved and has been closed to new replies.