Hi,
this idea is surely not for the typical WEBCON user but I think everyone of the partners has run into at least one use case where the standard form layout is not enough. Sometime because of some specific requirements or where we wanted to provide additional options to guide the users through a large form.
I also tried and failed creating an "advanced validation dialog". I wanted to display a dialog in which the user had to set some fields. I mainly failed because I couldn't replicate the logic attached to the choose fields and similar.
Therefore I would think we could improve the user experience in some cases if we would have a JavaScript function which would have parameters for
- field name
- parent HTML element
- label HTML element.
If this is the customer DOM
The function would be called like this
CreateField("AttChoose1",document.getElementById("myCustomFieldContainer"),document.getElementById("myCustomFieldLabelContainer")
and it would create the minimal elements required for the field to be working inside the container:
I would "expect" that regular expressions, style and behavior, popup search, auto complete etc. are working. If the field is hidden either by a visibility restriction or a form rule the myCustomFieldContainer element would be empty.
Best regards,
Daniel