Skip to main content

How to configurate a value to a Hidden field at Form component?

Comments

3 comments

  • Sandra Prunici

    Hi,

    Yes, it is the solution if you want to differentiate from where the visitor completes the form.
    At the moment, when you create and add a Hidden field type in the form element, it is recommended to name the placeholder or/and the label with the value you want to hide. It can be the category name, "partner page" or "contact page". Therefore, you have to add instead of "Hidden", the "Partner page", "Contact page" or another value you need.

    Best regards,
    Sandra

    0
  • Kenzo Osanai

    Hi, Sandra.

    When I change the placeholder value, the name of the field follows the same value. In the example bellow, put the placehold as "Saúde" (Heath, in english) and the collumn in the dataset keep the same label. Then, when I export to CSV, I have multiple collumns for a thing that should be a unique category like "Page".

    Is there a way to configure a different field name and placeholder for the same hidden field?

    Best regards,
    Kenzo

    0
  • Sandra Prunici

    Hi,

    Yes, at the moment in such a way is working the "Hidden" field from the Contact form. If you want to use a specific value, you have to name the Hidden field with that value. The Hidden field isn't visible for the visitors, therefore the name of this field is its option. The placeholder isn't a value that is stored in the database, it is a temporary string that helps users to complete the form. Even if you set a different value to the placeholder, it will not be saved in the database, therefore will not be made visible in the "Hidden" field too. The value that will be visible is the field name. 

    Thanks!

    Best regards,
    Sandra

    0

Please sign in to leave a comment.