Defaults in Forms
When creating forms in todo4teams, no default values can be entered for the form fields.
This means that when a form is selected when creating a new ticket, all input fields are initially empty.
If you want to support the user by pre-filling certain fields with values, please use the form's "Activate action". This script is executed when a user checks the box to add a form to a ticket:
Here is the code:
formPanel.setFormValue(
form,
form.getMetaAttributeByName("Telefon"),
"01705552555"
);
When a user now selects the form, the phone number is pre-assigned as desired: