Increase Max String Length of the Form Editor.


Filename: gppa-form-editor-increase-max-string-length.php

 * Gravity Perks // Populate Anything // Increase Max String Length of the Form Editor.
add_filter( 'gform_admin_pre_render', function ( $form ) {
	<script type="text/javascript">
		gform.addFilter('gppa_form_editor_max_string_length', function(form) {
			// Increase the length from default 50 to your choice.
			return 1000;

	return $form;
} );

Leave a Reply

Your email address will not be published. Required fields are marked *

  • Trouble installing this snippet? See our troubleshooting tips.
  • Need to include code? Create a gist and link to it in your comment.
  • Reporting a bug? Provide a URL where this issue can be recreated.

By commenting, I understand that I may receive emails related to Gravity Wiz and can unsubscribe at any time.