Hi everyone,
what i did was creating a extension that adds a new field in the calls UserRequest. The new field is called "cust_creator_id". Which stands for the User-id of the creator of the ticket. It is mostly used on crating a Request in Helpdesk by an agent in the console. All together this works fine.
Problem: The new custom field ist defined as mandatory. When i now create a new Request in the portal, i get this error: Error: object cannot be created. Check associated objects and attachments before submitting again this form. (see attachement)
On my opionion the error is a result of the MANDATORY field. If I set it to not mandatory, everything works fine.
Question: How can a add my custom field to the portal as a new field in the form?
Unfortunately, it's often more work than adding fields in the back-end; as the "XML nodes" (HTML tags) typically don't have an ID; so you can not simply override a small part of a form.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everyone,
what i did was creating a extension that adds a new field in the calls UserRequest. The new field is called "cust_creator_id". Which stands for the User-id of the creator of the ticket. It is mostly used on crating a Request in Helpdesk by an agent in the console. All together this works fine.
Problem: The new custom field ist defined as mandatory. When i now create a new Request in the portal, i get this error: Error: object cannot be created. Check associated objects and attachments before submitting again this form. (see attachement)
On my opionion the error is a result of the MANDATORY field. If I set it to not mandatory, everything works fine.
Question: How can a add my custom field to the portal as a new field in the form?
kind regards
G.H.
You'd need to redefine the form - https://www.itophub.io/wiki/page?id=latest%3Acustomization%3Aportal_xml
Unfortunately, it's often more work than adding fields in the back-end; as the "XML nodes" (HTML tags) typically don't have an ID; so you can not simply override a small part of a form.
I was afraid it wouldn't be that easy. That's a size too big for me ...
It's actually not that much of a step if you already managed to do all the things you mentioned, adding a custom field etc :)