Search code examples
htmlformswordpressinputgravity

Custom Input Names on GravityForms


How can I add custom input names to gravity forms? I need to submit a form to a third party service that requires very specific form names.

My current idea is to write a bit of jQuery to dynamically rename everything when the page loads. Obviously this isn't ideal.

Gravity Forms: http://www.gravityforms.com/


Solution

  • After contacting the makers of Gravity Forms, it sounds like they don't support custom input names. As a workaround, I wrote a bit of jQuery to rename inputs with the correct form names. For example:

    $("input#input_1_1").attr("name","first_name");