Customize name attribute of a field

Home Forums Feature Requests Customize name attribute of a field

This topic contains 1 reply, has 2 voices, and was last updated by  Khaled 4 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7683

    whoaloic
    Member

    Hello,
    would it be possible to customize the “name” attribute of a field?
    By default, the name attribute is the same as the label?

    Best regards.

    #7692

    Khaled
    Keymaster

    Hi,
    By default, name attribute comes from meta_key or based on field type. Although, you can override name attribute by filter hook http://user-meta.com/filter-hooks/user_meta_field_config/ but it is not recommended. Use meta_key instead.

    Thanks.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.