Disable Max String Length for Option Labels


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

 * Gravity Perks // Populate Anything // Disable Max String Length for Option Labels
 * https://gravitywiz.com/documentation/gravity-forms-populate-anything/
add_filter( 'gform_admin_pre_render', function ( $form ) {
	<script type="text/javascript">
		gform.addFilter('gppa_form_editor_max_string_length', function(form) {
			// Skip max string length check by returning false.
			return false;

	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.