New attributes added does not appear in the designer in Web Form

Infos:

  • Used Zammad version: 7.x
  • Used Zammad installation type: (source, package, docker-compose, …) docker compose
  • Operating system: Windows 11
  • Browser + version: Version 151.0.4129.93 (Official build) (64-bit)

Expected behavior: I have created new custom attributes for using them in the web form designing. Expected is that they should appear in the designer section of the Channels->Form. But I am not able to see them at all.

Actual behavior: I am not seeing any custom attribute in the designer section of the web form.

Steps to reproduce the behavior:

  • I created 2 custom attributes through Rails console. One of the type text area and other of the type select with key value pair. I also checked all possible ways that the attributes might not be created well For e.g.
    Checked that the screen field is set
    Checked that the select has key / value pair
    text area field has the max length set and options ={}
    Also went to the console and pressed on the update database. Cleared the cache. Rerun the docker . But the fields do not appear on the designer section for me to use. Please help

As outlined by the documentation, custom objects are not supported in web forms as of now.

Thanks for the response. In that case how can I customize the web form with some custom fields? There are articles about customizing the webform. If they are not supported by the web form how can they be supported at all?

You cannot. What articles are you talking about? Anf if they tell you what to do, why aren’t they helping you?

You could only do it with a completely custom web form and by using the public form channel endpoint. Then you could use the hidden “form_allowed_params” setting to allow custom attributes.

Understood.. Thank you. I have come across one more issue with the custom attributes.
I have now setup the ticket creation using email as a channel. The user email has the Id of the user. I want to extract the user id from the email address and populate the roll number custom attribute.
I tried with triggers and post master filters but it does not work.. Is there any other way where I can populate the roll number ( extracting the same from the email address) when the ticket is created ?