Code

Discussion on Gravity Forms Auto Formatter

Discussion on Gravity Forms Auto Formatter

Cart 366 sales

PluginOwl supports this item

Supported

This author's response time can be up to 5 business days.

85 comments found.

Hello, I just purchased your plugin this evening. Everything is working as it should, but I do have a question – I have set up a field where the first letter of every word is capitalized. For example if someone enters JOE BROWN LLC, the entry in the backend of Gravity Forms will show Joe Brown Llc.

My question – is it possible to replace Llc with LLC? I have tried to set this up, but it isn’t working ( Llc::>LLC)?

Thanks for your help.

Hello , are you actually submitting the form to test the text replacement? This happens on submission, not in real time.

Hello, This replacement is verified as functional and working in our testing using current plugin version.

Please submit the form for the replacement to take place as it occurs on submission of the data. Also, you may wish to add a comma after the replacement if it is the only one listed in the option IE:

Llc::>LLC,

Please let us know if this does not solve it for you :)

Hi there… I love the plugin but am experiencing a string of errors when a form submission is edited and resaved. It seems like each form field that is using the formatter tool throws a “Warning: Attempt to read property” error.

The form entry does resave correctly, but here is the full error that we get on our form.

Warning: Attempt to read property “type” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 463 Warning: Attempt to read property “gfaftextreplaceField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 370 Warning: Attempt to read property “gfaftextreplace2Field” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 404 Warning: Attempt to read property “gfafremovelinksField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 420 Warning: Attempt to read property “gfafremovehtmlField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 426 Warning: Attempt to read property “gfafuppercaseField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 430 Warning: Attempt to read property “gfaflowercaseField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 433 Warning: Attempt to read property “gfafucfirstletterField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 436 Warning: Attempt to read property “gfafucfirstlettersField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 440 Warning: Attempt to read property “gfafbeforeField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 443 Warning: Attempt to read property “gfafafterField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 449 Warning: Attempt to read property “type” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 463 Warning: Attempt to read property “gfaftextreplaceField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 370 Warning: Attempt to read property “gfaftextreplace2Field” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 404 Warning: Attempt to read property “gfafremovelinksField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 420 Warning: Attempt to read property “gfafremovehtmlField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 426 Warning: Attempt to read property “gfafuppercaseField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 430 Warning: Attempt to read property “gfaflowercaseField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 433 Warning: Attempt to read property “gfafucfirstletterField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 436 Warning: Attempt to read property “gfafucfirstlettersField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 440 Warning: Attempt to read property “gfafbeforeField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 443 Warning: Attempt to read property “gfafafterField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 449 Warning: Attempt to read property “type” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 463 Warning: Attempt to read property “gfaftextreplaceField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 370 Warning: Attempt to read property “gfaftextreplace2Field” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 404 Warning: Attempt to read property “gfafremovelinksField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 420 Warning: Attempt to read property “gfafremovehtmlField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 426 Warning: Attempt to read property “gfafuppercaseField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 430 Warning: Attempt to read property “gfaflowercaseField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 433 Warning: Attempt to read property “gfafucfirstletterField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 436 Warning: Attempt to read property “gfafucfirstlettersField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 440 Warning: Attempt to read property “gfafbeforeField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 443 Warning: Attempt to read property “gfafafterField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 449 Warning: Attempt to read property “type” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 463 Warning: Attempt to read property “gfaftextreplaceField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 370 Warning: Attempt to read property “gfaftextreplace2Field” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 404 Warning: Attempt to read property “gfafremovelinksField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 420 Warning: Attempt to read property “gfafremovehtmlField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 426 Warning: Attempt to read property “gfafuppercaseField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 430 Warning: Attempt to read property “gfaflowercaseField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 433 Warning: Attempt to read property “gfafucfirstletterField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 436 Warning: Attempt to read property “gfafucfirstlettersField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 440 Warning: Attempt to read property “gfafbeforeField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 443 Warning: Attempt to read property “gfafafterField” on bool in /home/actionqu/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 449

OK, Thanks. I will step the PHP version down to 7.X then

Yes, please let us know if issue of warnings is persisting on 7.4

Confirmed… this is only an issue with 8.0 and above.

Please could you tell me how the license works as I have 2 websites I would like to install this on.

Can I buy once and install the same plugin on each site or do I have to buy 2 copies – one for each site?

Thank you

Hello

The envato license allows you to use the plugin on one single website. We allow for a second installation for development site copy purposes only for the same website.

You should buy 2 copies to be covered by the licensing. this will allow you to use it on a dev site for each individual website of the 2 as well

HI, this plugin seems like something we need. Can it also autoformat live input to capitalize and add a dot for each letter. Basicly for a field to collect initials. it should always format it to ‘A. B. B.’

Hello

It does not currently have initial formatting, but this is certainly something I can suggest to the devs for a standard text field to add to the plug-in. However, You could also likely just add a mask to the text field that only accepts letter dot letter etc.. could beer combined with the capitalization function to only use cap letters.

For pre-sale question. Is your auto capitalization is using css which is adding a text-transform only? i need to uppercase all submitted data. is this achievable in your plugin?

Hello

The text formatting by letter case is both front end CSS with PHP redundancy. This means that in your specific questions case, the fields should display correctly on the front end to the user, and if they manage to submit the data otherwise via html manipulation or other means, the data will still be collected and saved as uppercase via the PHP server side redundancy when processing the fields on submission.

In order to have all fields uppercase the fields must be of supported type for that option. field types supported for “upper case” are:

text textarea name email website address list post_title post_content post_excerpt post_tags post_custom_field

Hope this helps :)

Hello

To add to other devs reply, any non CSS front end display case formatting is accomplished via JS, but BOTH front end methods are backed by redundant PHP processing on submission to prevent user workarounds or any potential CSS/JS script failure from external conflicts.

Please support composer/installers 1.0|2.0 in the composer.json file

2.0 is what Bedrock now requires and the plugin is incompatible without relaxing the constraints.

Hello

Did you mean to post this to this plugin? We do not utilize any composer.json file

Bonjour,

Trop heureux de trouver votre plugin mais j’ai quelques probléme. Sur un champ de nom propre pas de soucis pour qu’il soit en majuscule, je souhaite interdire les espaces pour les nom et prénom composés. exemple : JEAN PIERRE doit etre modifié en JEAN-PIERRE. j ’ ai mis cette régle blank;;>- mais cela ne fonctionne pas. j’ai aussi mit ds la rubrique caractéres autorisées ceci : ABCDEFGHIJKLMNOPQRSTUVWXYZ- espérant autorisé que ceci mais cela ne fonctionne pas non plus. que faire, merci de votre aide. Daniel

Cela ne fonctionne pas . j ai donc mis ” ::>-” avec les guillements dans l espace “Individual Text Replacement” ou dans l’espace à remplacer dans les parametres ( Central Text Replacement et Central Strict Text Replacement) en cochant au niveau du champ “Central text remplacement” mais rien y fait cela ne fonctionne pas au changement de champ et/ou à la validation du formulaire. Quest ce qui pourrait bien bloquer? Merci

Do NOT include the quotes, only the text between the quotes. The quotes are only to show where the replacement string starts and stops.

Oups!! désolé effectivement cela fonctionne trés bien. Pour le format du téléphone portable je vais dormir un peu avant de travailler dessus…..Merci beaucoup

Hi, I’ve been using the auto formatter plugin for years (thank you), but I think one of the GF updates created a conflict. I see the “Auto Formatter” section with your portfolio button under “Advanced” on each form field, and the show/hide list appears below with the AF options. There is no way to select what I need, which is just all caps. The AF options are simply unclickable text. Can’t remember exactly how it was supposed to function

EDIT: I noticed that the code should have a radio input selection or a clickable setting, but nothing works on any browser

input type=”radio” id=”field_gfafuppercase_value” name=”gfafcaseOption” onclick=” SetFieldProperty(‘gfafuppercaseField’

PHP Version: 7.4.27 PHP Version Supported! Wordpress Version: 5.8.3 Wordpress Version Supported! Gravity Forms Version: 2.5.16 Gravity Forms Version Supported!

Edit 2: Apologies, I was running GF AF 2.4.7. Just paid for it again, updated and everything works as it should

READ-ONLY for specific column in list field, can be possible?

hello,

You can make an entire list field read only by default but single columns of the list field are not something currently supported.

We DO NOT support custom programming, but that said, you can use a small JQuery snippet in the footer of your form page (use an plugin/theme/etc. to insert this) to accomplish this. Replace “your-list-field-class” with your list field custom css class assigned in its “appearance” tab, and replace the “3” in the column number with whatever number the column is left to right.

<script> jQuery(function($){ 'use strict'; $(document).ready(function(){ $(".your-list-field-class div[data-label='Column 3'] input").attr("readonly", true); $(document).bind('gform_post_render', function(){ $(".your-list-field-class div[data-label='Column 3'] input").attr("readonly", true); }); }); }); </script>

Hope this helps :)

How would you go about doing only alpha numeric plus a period?

Hello

You could use the “specified characters only” option and type in what you want to be accepted.

So something like this aAbBcCdDeEfF,.- ?

Correct.

In order to allow the period char along with alpha/numeric you would need to customize the character set.

If you are adding it before or after all entry, you could always just use the append or prepend options though.

Hi, I am using your GF Auto Formatter plugin and I’m getting this error:

( ! ) Fatal error: Uncaught Error: Undefined constant “GFEF_MAIN_FILE” in /plugins/gravity-forms-auto-formatter/gfaf.php on line 1608

What can I do? Thanks.

Update #1: Also checked and I have no / in an option that doesn’t allow special chars.

Update #2: Deleted all the forms, the error persists.

Hello,

Please download the latest update from your envato account. (ver 2.7.2).

I do not understand what “I have no / in an option that doesn’t allow special chars” is referring to. can you please be more specific as to what you are trying to do.

Is there a simple setting to have ALL CAPS for entries? Thanks!

There is the “UPPER CASE” setting which is per field. All settings affect all entries for each form they are set. There is not a direct setting to change to all caps for all forms and all fields.

Can this prevent people putting links in their messages. I want to reject www. http:// etc.. I bought the plugin. I can reformat test with http:// etc.. in submissions coming in but I cannot reject a form with them in it?

Hello

You can do both if you would like. Use the blacklist options reject text with “http” on validation.

great thanks. IM getting this error, do you know what it is. Warning: preg_match(): Unknown modifier ’/’ in /home/s570586/public_html/wp-content/plugins/gravity-forms-auto-formatter/gfaf.php on line 78

I am guessing you have inserted a “/“ into an option which does not allow special charachters. If you use the “strict” option, this may be allowed.

I will note this to the team to filter out the warning possibility in next update .

hi, update notification arrived, downloaded the file and the version seem to be the same as before 2.7 are we waiting for a new version? will be helpful if you could timestamp updates to see if we have the latest version. thank you

Hello

2.7 is the latest version. The latest “release” was only a small maintenance change to the .readme file and should not have had an email notification sent. Apologies for any confusion. The full change-log is always in the plugins .readme file with latest version listed on plugin page here as well.

Hello,

I’d like to capitalize the first letter of special multi part last names too (seperated by a ”-”).

For example, I’d like the name “jean-marie” to be fixed this way: “Jean-Marie”.

Please advise,

Hello

This appears to be correct. You can/should test the resolution on a simple form with a single name field and show the resulting name in the confirmation for quick testing.

It works! Thank you very much for your support.

You’re welcome :)

Hi, Great plugin! Is there a way for First letter cap and cap after period. I mean sentence case? I Can’t Use Every Word Cap. and Then there is this. where the next sentence is not cap. ??

Any snippet for this? thanks,

Hello

Currently no “per sentence” caps setting or snippet. I will suggest it to the dev team.

Thanks for quick reply. Yes, should be simple. lol just like uppercase and lowercase are a thing Sentence case is too. At least for paragraph/textarea.

Hello, Can we exclude Arabic characters from Alphanumeric option?

Hello

You can try using the character exclusion option (Strict blacklist for the individual field or the universal blacklist if needed everywhere) as well, but would need to exclude the entire Arabic alphabet. The Alphanumetic only option limits keystrokes but does not restrict which language. The blacklist options can restrict specific characters on validation. :)

ignore my issue , figured it out so sorry great plugin!

Hello,

I assume it needed the “strict” text replacement is all, but glad it is resolved :)

Hi, When the user types using CAPS lock the formatting does not apply is there a way to ensure that regardless of what input method is used that the input box is formatted to uppercase the beginning letters only?

The formatting is applied on submission regardless of front end scenario. However can you send us a url to check this occurrence?

Hi,

I just purchased this plugin after seeing a comment that auto-capitalization happens AFTER the form is submitted, which is what I was looking to accomplish. I installed, tested, and saw that my entries were being auto-capitalized on the user side BEFORE the form is submitted. (After reading all the comments did I see the fairly recent update that changes occur in real time.)

I would prefer the user to not see the formatting adjustments. Is there a setting I can toggle that would change when the text gets changed?

Thanks so much!

Hello,

There is currently no setting for disable real time corrections to case, but this is something we can look into potentially adding as feature for next update !

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey