85 comments found.
Hello, is it safe to install your plugin on existing gf installation with forms already in use? Many thanks
Hello customer
Yes, generally speaking you can safely install on existing Gravity Forms installation and use on existing forms. However, as with any other plugin ..we recommend you always install plugins and test for any issues and for operation on a dev version of your site before going live if the site or data is of any importance.
Hello, just wanted to let you know installation went fine on existing install and live forms. Really really love this addition to GF, its worth it for the copying fields alone. Recommended!
Thank you!
We are glad you enjoy the features. You can leave an official rating if you would like, and please let us know if there is any other auto formatting feature suggestion you have 
Hi, i installed the plugin but i can not get a specific replacement function to work. I need a zipcode to be in the format ‘9999 AA’ which means 4 digits, a blankspace, 2 letters. How can i achieve this?
1234AA must become 1234 AA 1234 AA must remain unchanged
Kind regards, Jasper
Hello
Address field type is formatted all the same for its multi parts so you cannot apply something to zip that is not wanted on other parts of field.
If by any chance all ZIP end in AA. You can change “AA” to “ AA” then change a double space to a single space.
Suggestion is to use single line text input for ZIP. Use input mask “9999 aa”. Use auto format option for all caps.
thanks, i also remembered i can use gforms default mask to add the space
When gravity forms calculation displays .33 can I change the display to 33% for the user?
Hello customer
For changing this on text field you can do it for the saved results only. You can remove the “.” Using replace text option and append the % using the append option.
However if this is a number field calculation you can likely just multiply by 100 and put a % after the display in the printout/merge tag usage to convert decimals to percentages.
Hope this is help 
Can i change this input ‘1234aa’ into ‘1234 AA’ with your plugin?
Hello customer
You can do this thing in possible ways. You can replace all “a” with “A” , but to put a space character in , you would have to replace “aa” with “ AA”. Or if AA always is supposed to be at end and only appear there, you can have “aa” “ aa” “AA” and “ AA” all removed and also use append with “ AA” so it is always added to end. It will also NOT add to end if already present at end so you likely do not have to bother with remove it as listed above.
The plugin has many powerful tool to do things like this , and only need to figure out ways to target only exactly what you try to do. 
what if the client enters ‘1234 aa’, there should be no extra space, just the aa turned into AA
You can replace spaces with nothing (removes spaces) and replace aa with AA. Only needing to target what you want to happen in an effective way.
Hi there, when I enable the pre-submission entry review page so that auto formatter option will work, the preview reviews hidden fields that I don’t want the user to see. I’ve tried adding CSS classes such as “gf_invisible” and “gf_hidden” but neither work in the review section.
Do the users have to review their submission in order for it to work with Auto Formatter?
Hello
The review page is optional. There is no need to turn it on for the plugin settings to work. Almost all settings of the plugin operate independently of the others. 
I updated the plugin lastnight and now I get this error on WP
Got error 'PHP message: PHP Parse error: syntax error, unexpected '}', expecting end of file in /wp-content/plugins/gravity-forms-auto-formatter/gravity-forms-auto-formatter.php on line 379\n'
How can this be fixed?
Hello
When is error appearing? First solution is to re-update plugin to be sure update went properly.
The plugin stop working, so I had to deactivate it, then if I try to reactivate it, I get the error on wordpress debug log
as of now, the plugin can’t be enable, it was fine yesterday, after the update this happened.
I get this if i try to activate the plugin:
Plugin could not be activated because it triggered a fatal error.
I will now uninstall and reinstall the plugin, see what that does 
I just removed it and reinstalled the plugin, get the Plugin could not be activated because it triggered a fatal error.
We have reviewed file and re-released to fix any potential error in our file upload. Re-tested correct install and activation of new file. Please re-download version 2-4-8 after a few minutes when is released and install. If error persists, please let us know.
ok thank you
That fixed it, thank you
Happy to assist. 
Is it possible to use this plugin to auto-replace blank values for a given field?
I’d use default values, but they don’t work because I’m writing data through the API… so whatever the API writes overwrites the default value even if the value sent to the API is blank.
Hello
This is not fully understood. You can make a field to be required if it should not be blank. Or fill a value pre form rendering in with the Form’s short code by default. If you are overwriting the blank values when using the API you could possibly make change there as well.
But I do not believe that the plugin text replacement function with blank value.
Thanks
How I can type , . or space in Numeric Characters Only or Alpha Characters Only
Hello
The short answer is you can’t. Those options restrict everything except for their namesake.
You CAN however, either use the “specified characters only” option to only allow the specific characters you type in there (which can include the characters you are looking for along with a-z). Or you can use the individual (or any other) blacklist to just restrict any characters you do not want to allow (thus leaving you with only acceptable characters).
Hope this helps 
I try that PluginOwl , but it does’nt work
Hello
In what way does it not work? The specified characters option works on form validation. You can type in whatever you want but it won’t pass validation. A description detailing the character limitation is recommended. Be sure to read the tool tips for the options as they detail individual instructions.
Hope this helps 
Hello, Can you give me an example that how I can do it? this is what I fill the Specified Characters Only field qwertyuiopasdfghjklnñzxcvbnm…
Just put your allowed characters into the specified character only option and the form will not allow submission or page advance if other characters are present in the field and will give the user a validation error on the field stating the allowed characters for the field.
ok great, now how I can replace This input only accepts the following characters:
Another bug found…the plugin doesn’t work with gravity view
Hello,
The two are compatible. Could you please explain any issue you are having concerning gravity view.
MMM I can give you access to my wordpress if you want to
Perhaps, but we need a clear explanation of what we are looking for as far as the plugin “not working with gravity view”. In what specific way are the 2 not working together?
specific characters…doesn’t work
When viewing an entry? Or editing?
Editing entry
Our plugin runs on the original collection of data through the actual gravity form and uses gravity forms native validation hooks to perform custom validations such as only allowing specific characters.
Have you checked with gravity view as to whether or not the edits as you have them set up are also passed through gravity forms validation and hooks? I can check with them on this as far as it’s possibility.
If our validation is not running, it is likely that the gravity forms validation is simply not being used.
If you wish I can give you an access to the page via email and so you can verify, the problem of its plugin in is gravity view when editing the entries. my email is wallydomingo@gmail.com
We have contacted gravity view about it and are waiting for a response. If thier plugin does not run gravity forms validation hooks on user edits, it is up to them to add this functionality.
On the other hand, If you are referring to administrator level edits. This is normal. An administrator editing data on the backend can enter things that would not pass form validation on the front end. That’s just up to them to format it validly if editing.
I just confirm the issue is in gravity view, edit entry option, frontend area.
can i prevent user from entering special characters like ’ $#! into input fields?
Hello
Yes.
You can use the alpha only, alphanumeric only, the centralized blacklists, or the field specific blacklists to accomplish this.
Using the blacklists you can disallow any specific characters vs only allowing alpha or alphanumeric characters.
Hope this helps 
thank you for the quick response.
Can you tell me how I can translate the plugins validation notifications?
Hello
You would have to check to ensure they are translatable (devs are working towards 100%), and translate as normal per any WP channel.
IE: https://premium.wpmudev.org/blog/how-to-translate-a-wordpress-plugin/
Hope this helps 
I am aware of how to create a translation
but run into issues with translating some plugins because a lot somehow have a different place and way where it needs to be stored. Are there related specifics regarding your pluign?
p.s. your plugin is translation compatible, correct? Can’t find txt variables, only hard coded texts? Or am I not understanding it correctly?
Devs are still working towards translation ready. Will likely be passed via _e
Would be a – major – improvement, at least when all front office notifications would be translatable.
I have now modified the code of one php file but that will be overwritten with an update of the plugin. The standard _e way would be best imo.
Hello, I purchased this plugin so that it would force the first letter of each name typed into my client’s Contact forms to capitalize. I expected that if a client typed into First Name: john Last Name: smith – we’d get the result submitted to us with First Name: John Last Name: Smith – it worked when sending the form to our email but I also send this form into HubSpot. And it didn’t work there. Do you know of anything I can do to get it to work in HubSpot?
Hello
How is the form data being sent to hubspot? Hubspot in my understanding by default uses automatic form data collection via page JavaScript on your site and does not collect via any gravityforms plugin or functionality. If this is the case ..this is also the reason. Our plugin works within the gravity forms system so if the data collection does not occur through that, it will not be affected by our.. or other plugins working within that system unless the effect is real time.
If you are using the hubspot add-on. The data should be synchronized unless the add-on pulls data before feeds normally do for some reason.
Hi. I didn’t realize that. Is there any possibility that I can get my money back? It’s a nice plugin but I have to uninstall it so that I’ll see the lower case entries as they come into my in-box so that I can correct them in HubSpot.
Authors cannot process refunds, but you can request a refund from Envato.
However, the next update (to be released shortly) may have the casing also be in real time, so effectively it would work for you then.
Hope this helps 
UPDATE: version 2.4.7 has been released which should solve this for you. All capitalization/case options are now in real-time for all supported inputs.
“Version 2.4.7 (Current Available Version)- Added REAL-TIME support for ALL auto-captilization/case options on ALL supported inputs.
- WordPress 5.2.2 tested. “
Hope this helps 
Thanks! I’ll let you know.
Hi again. Where do I download Version 2.4.7? I thought I could download it here but when I did, it was still 2.4.6.
Hello,
We just tested the current download version here and the version currently hosted on Codecanyon here since the update is the correct 2.4.7
You can use the Envato Market Plugin to manage your envato updates more automatically if you would like: https://envato.com/market-plugin/
But If you go to your downloads for your account the current file you can download for GF Auto Formatter is 2.4.7
You can just use FTP to overwrite your current files if you unzip the file, or you can select to save the plugin settings (on settings page) and then uninstall the plugin and install the new version. 
Hi again. I just installed 2.4.7 and tested it twice. It didn’t work. I entered my husband as a test contact and my dog as another. In both cases, the plugin forced the caps on the Gravity Form so that, as I was entering the information, even if I typed a lowercase letter, the form displayed a capital letter. But in HubSpot, the name Sheldon Cooper (our dog) and my husband’s name showed up in lowercase. I thought maybe I needed to refresh the page where my form resides so I refreshed it – and I use a Chrome extension that makes sure my page is refreshed – and it still didn’t work. Is there anything else that you can do? Or do you think that I am missing something in the settings?
Hello
It sounds like this may be something from hubspot itself.
As you’ve experienced, the forms (with our plugin) now directly input the text with the case as set in the plugin, so if it’s changing at all from that it’s not within the gravity forms arena , but would have to be with how hubspot is processing the data.
if this is the case , You can try entering random capitals on a normal field not using (or using) our plugin case settings and it should still result in hubspot collecting it in lowercase.
..in which case we could only recommend to try using the official hubspot add-on for gravity forms (in assumption it collects data as entered)
Different support question—in the situation that there are hundreds of form fields, across many forms, is there a method to globally force apply the Central Strict Text list to all input fields instead of manually selecting the checkbox on every single form input setting?
We could look into adding a form wide option, but currently there is not a global option.
Attempting to do Central Text Replacement for “’” (& r s q u o
without spaces. Unfortunately, the plugin seems to convert it to the special apostrophe of ’ and does not replace it in a text area field.
Please let me know how I can convert all instances of ’ and the html entity version of the same into a normal ’ apostrophe.
Hello What is your actual replacement string ?
’::>',–::>-,…::>...,’::>'
The second occurence of ’ should be the & r s q u o ; (without spaces) but it gets converted to ’ after clicking Save Changes.
If it would be of help to explain my goal here, I want to replace UTF-8 type encoded characters (and Mac/Word characters) to their ASCII counterparts when a user submits the form.
Are you using strict text replacement?
The standard does not support special chars
I am using Strict Text.
Using Strict Text, I would like to replace & r s q u o ; (without spaces) with ‘
You generally should not use standard st all for special chars and also not BOTH standard and strict for the same replacement if there are special chars. Only use strict. Otherwise the standard may convert first and not fully support the special chars accurately leaving an inaccurate string that it not correctly then changed by the strict replacement.
Only enter it into strict if special chars are present
The issue seems to be that Wordpress backend is changing the search term of & r s q u o ; (without spaces) into a ’ and therefore will not find the strict term at all.
Using strict the value is taken literally and should not be changed by Wordpress as it is not processed as html. Again, be sure your not also using the standard
I have checked it multiple times. Please try it in your WP environment. When you enter & r s q u o ; (without spaces) and click Save Changes it converts to just ’ in the input settings.
Did you check the database entry, or just the settings printout of the option. We are wondering if it is converted for display or in the actual DB data.
We can check on our end with development , but they are out until next week.
Not sure what the database entry would be or what to look for. I’ll wait until you are able to get word back with your development for the answer. Thank you for looking into this.
Ok
I’ll be sure they have a look ASAP.
I am not at a system presently but as a suggestion I would try to escape the html like “\’” but it may be taken literally then and if strict fire not ..the standard text replacement could possibly function
But moreover, if Wordpress is replacing it anyway in the db within GRavity forms entries as well, you shouldn’t need the html. And you could just use the literal characters as there is no html. you could test this to see if the html input survives the GRavity forms data save without any replacement happening, or if it is also converted.
..after further review it appears you are correct in that Wordpress is likely filtering the HTML which means that you do not need to include the html special char version at all. Just use the literal characters.
If you wanted to stop Wordpress from converting html special chars indirectly ..you could look at running “add_filter( ‘run_wptexturize’, ‘__return_false’ );” , but generally we avoid changing core functionality.
PreSale Question: Is it possible to format the numbers as per Indian number system? For example we write 1,200,000 as 12,00,000. We use lakhs instead of millions.
Hello
There’s no way to directly convert the numbers in that way from the plugin, but you could have someone insert a small code snippet to simply move the “millions” comma for that one field if it’s 6 digits over to 5 digits over.
Hope this helps 
Can this be used to auto format text fields to wrap a link to it?
Yes. You can use the options to add any characters before and/or after the users input, such as and <\a> but the display of the link as actual clickable html will of course depend on where it’s printed out/used.
Hope this helps! 
Hello! Great Plugin.
I noticed that when I select either the Alpha, Numeric, or Alpha-Numeric only validation, it removes the ability to add a space to the field. So, I deactivated these options and instead added all the character’s that I wanted to block into the Individual Blacklist Option, but it doesn’t work at all.
Do you have any suggestions? I need Alpha, Numeric, and Alpha-Numeric to work but allow the user to add a space.
Hello
The alpha/numeric options work in real-time , where the blacklist works on form validation. So when you say “it does not work” I am wondering if you attempted to page forward or submit?
You can definitely blacklist a list of individual characters as desired.
We are also currently looking to add a feature to “only allow specified characters” ..which is kind of opposite of the blacklist, but may work in real time like the alpha/numeric options. This is completely tentative at this time and there is no estimated release schedule if it is implemented.
Hope this helps 
in the meanwhile, can you add a new feature like this?
/////Only allow this characters. (Any others than thats doesn’t allowed)/////
We’ve added this to the list to review for possible implementation in the next update if possible 
Hello. Have we any improvement?
We hope to review the issue this weekend. The add-on is not something we use but since it appears the plugin is for some reason being loaded twice (presumably this is via Ajax) , it is likely easily solved by preventing the second load on any given page with a simple check if it’s already loaded.
We will update here with any info as it is available.
if it is simple, can you add the above requested option to plugin when you fix the error?
The feature request will likely take longer to implement, but if it happens to be simple we’ll put it in right after it’s conditionally implemented and tested.
thanks
Hello again. Have we any improvement about “only allow that chars” ?
It’s in the works. I can’t speak to timing on it , but it will vary based on whether it’s active real time or at validation
UPDATE: The feature of “Specified Characters Only” has been added in for fields of the following type: text, textarea, post title/content/excerpt/tags/customfield.
This works during form validation .. so between pages and on submit it will fail validation and the error message reminds the user of the allowed chars that should generally be listed in the fields description.
The feature has some additional testing to go through, but should be in the next release soon.
Thank you. Yes it shows validation messages to users in header section like “FAIL” and “PASS”
I think you can add custom regex instead of custom characters like below
https://github.com/mmirus/gravityforms-regex-validationWe can add custom regex with “unicode escape sequence converter”
Thank you for the mention. The testing code has been removed. The version number remains the same, but you can re-download the plugin for the “PASS/FAIL” to be removed.
It would be very possible to add a custom regex option, but The implications of allowing users to enter code which could result in errors or site crash may be a bit much. As it is the characters must all be escaped for security. I see they are escaping it there too, but it still possibly leaves security implications. However, there are already hooks in GF to run at validation for devs to write custom regex…assuming most who can write regex could also write a small action function to just hook onto the specific use case field.
Hello, I add Turkish character support to your plugin with gfafcustomonly
//custom only
if ($field->gfafcustomonlyField && !$field->is_form_editor()) {
$content = str_replace('type=', 'oninput="this.value=this.value.replace(/[^a-zA-Z0-9.,\'\s\u00f6\u00e7\u015f\u00fc\u011f\u0131\u00d6\u00c7\u015e\u00dc\u011e\u0130\-]/,' . "''" . ');" " type=', $content);
Can you add a regex textbox for this area?
Like
//custom only if ($field->gfafcustomonlyField && !$field->is_form_editor()) { $content = str_replace(‘type=’, ‘oninput=”this.value=this.value.replace(/[$your_custom_regex]/,’ . ”’’” . ‘);” ” type=’, $content);
I want to paste my regex code to textbox and it must be automatically set the $your_custom_regex with my pasted regex code.
I add SetFieldProperty(‘gfafcustomonlyField’, this.unchecked) to all other options like alphaonly alphanumericonly and numericonly.
I sent an email to you about my fully working code (gravity-forms-auto-formatter.php)
you can search “gfafcustomonly” in your php file
Hello
We do not do custom dev work unless contracted. However, you would just need to change the field option to emulate one of the existing text box options we have already, and then use the option variable directly where you have “$your_custom_regex” to place the options text content into your existing code.
I have a white page problem with using woocommerce gravity forms product addon’s while clicking add to cart button..
CRITICAL Cannot redeclare gfaf_blacklist_check() (previously declared in /home/xxxx/public_html/wp-content/plugins/gravity-forms-auto-formatter/gravity-forms-auto-formatter.php:69) in /home/xxxx/public_html/wp-content/plugins/gravity-forms-auto-formatter/gravity-forms-auto-formatter.php on line 69
Hmm, it seems it’s attempting to load the plugin file again. We can take a look at this.
What version of the plugin are you running?
WooCommerce Gravity Forms Product Add-Ons Version 3.3.8 | Gravity Forms Auto Formatter Version 2.4.4
Can you please send us an email via our author page contact form? We can work with you on this particular issue via email to see if your specific case and resulting error can be resolved.
I would like to truncate x characters from the start and/or end of a field. Is this something I can do with your plugin? It is possible I could do a search & replace in some cases I guess.
Hello
While we’re not sure of the use case here, the plugin does have both a “min character” and “max character” setting (for some fields that don’t already offer max-char) . You could use them together if you want the input to be a certain # of characters all the time.
That said , the plugin currently has no option to simply truncate X characters from beginning or end of an input. It would be a simple addition but we’re not currently sure it would be a widely used option to have it use more space in the field auto formatter options.
You can append or prepend to ADD to beginning or end, an yes, you can use text replacement if your cutting off the same pattern from beginning or end all the time to for example remove 3 leading zeros and dash such as 000- that are always present or a trailing -01 that’s always there. You can just replace that with nothing, assuming this would never appear in the text portion that is needed.
Hope this helps 
Just bought it. Only wanted to restrict an number field to input only numbers. I thought this would lead to an numeric input on iPhone. Unfortunately this is not happening.
Useless for me then. Can you implement this feature?
Hello
You can certainly use the plugin to restrict number inputs to allow numbers only in real-time, but are you looking to have the iOS or Android select wheel come up? That interface is made available by the OS for inputs of type: select, date/date-time/time.
If the input is not a time, date, or date-time which iOS can prepopulate the possible picker interface values from, it should be of the type “select” where you give it predetermined values.
Hope this helps. 
We are looking for a number input (0-9) for a 5 digit input zip code. Can’t find a solution described your way.
Yes, unfortunately It comes down to it that the selector wheel interfaces are a function of iOS as you have to have predefined selections to use the selector interface.
You would either have to enter all possible zip codes , or you could possibly style 5 selects in a row with 0-9 as options, and then aggregate thier values to the actual single numeric input field which would likely be hidden. the latest versions of gravity forms allow passing merge tag values toward to populate other fields so you could likely aggregate them to the hidden field using that method.