Can you add a field to the back office of an existing form field?

We want to have an additional text field on our backend for each of the built in fields that would basically act as a tooltip of sorts, where if the field has a value then we would have a question mark show by the title and if they click on it then it would show the content of the text.

Adding the tooltop functionality in the cshtml is easy enough, but I don’t know if we can add a field to the backend (where the admin develops the form) without creating a custom field. Adding a custom field for every single field type is not a viable option.

The likely alternative would be to have a custom field type that just asks for the target field name and the text they they want to put in and use JS to inject it where it needs to go in the DOM. I really don’t love this option but it may be the best alternative.

Are you looking for both a tooltip and the description text for a field? Would you be able to instead use the description text for this if you’re not? :thinking:

1 Like

Thank you for responding! I see an autocomplete attribute, placeholder, and default value. I don’t see anything for description for short answer.

We will be adding this field to the backend of 5 or so different built-in form fields, possibly more. It would be great if we can just add a field in and in the cshtml file we can have a conditional if that field is populated and if it is then add the code for the tooltip.

From what I am seeing it just looks like we can’t add a new field to the back office of an existing form field but extend the class with the new form field; so in the form field picker we would have “Short Answer” and “Short Answer with Tooltip”… and we would have “Multiple Choice” and “Multiple Choice with Tooltip” if they want that option. I don’t love that redundancy.