• After syncing the json forms to GF > Go to to form edit screen. If Gravity Forms Save button is clicked without making any changes, “inputType” => “” is added to add field data in json.


    But if I make even one change on any field, etc. add a space to label or remove one, all “inputType” => “” -lines are removed.

    Although the empty inputType doesn’t seem to be doing anything, I hope this will be fixes as it often results in back- and forth pull requests.

Viewing 1 replies (of 1 total)
  • Plugin Author Corey Salzano

    (@salzano)

    Hi, thanks for trying my plugin!

    The string “inputType” does not appear in this plugin, so it’s not something I’m trying to do.

    I can reproduce your test. I see the inputType attributes on fields appearing. The method that’s doing it is GFAPI::update_form(). That’s in Gravity Forms. I’m calling during the .json Load button click. The inputType attribute is showing up in your .json file after a form change is detected during the load.

    The Forms > Import Export > Export Forms feature creates .json without these attributes, but once they are added, they persist. More research is necessary on this one. Thanks for the tip.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.