PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Custom Field Names

  1. I was wondering if there was the ability to specify the html names of form fields (but not the displayed names). I need to integrate with another database (which I plan to do via hooks) and I need the field names to be specific.

    For example, I would need: "fieldtripDate1" from

    <form>
    Field Trip Date (First Choice): <input type="text" name="fieldtripDate1">
    </form>

    Posted 13 years ago on Wednesday September 14, 2011 | Permalink
  2. There is not a way to change the name and id's of fields. The form engine is dynamic and the id's and names are generated dynamically. You can still integrate with another database, you just need to check to see what the correct name/id is for the field you are going to interact with. Depending on which hook you use, you won't be interacting with form field data anyway you'd be interacting with the Entry object itself.

    Posted 13 years ago on Wednesday September 14, 2011 | Permalink
  3. Sorry, unfortunately, that's not going to work for me. I need the actual form field id's unfortunately.

    Posted 13 years ago on Wednesday September 14, 2011 | Permalink
  4. I'm curious as to why. If you are writing custom code using PHP to interact with the 3rd party database, why does it matter what the field id's? If you are writing custom code you can pretty much do whatever you want.

    Posted 13 years ago on Wednesday September 14, 2011 | Permalink