Talk:XForms/Input Field Width

Thank you very much for this valuable resource.

Is there any way to make an input field's width dynamic, e.g., widen as text is being entered, shrink as text is deleted?

It seems that inline styling is a non-starter, which rules out binding the XPath string-width function to a CSS rule (using a count:ems ratio for width) in the data model.

I need the functionality for a paragraph of text, where each word is a form element (form element borders and widgets are visible only on hover/focus). Looks pretty ugly if the input element isn't bound to the width of the string it contains.

Discussion
One of the question concerns if a data element length should only have a default recommended value in a semantic registry and the actual constraints be stored in an constraint schema.
 * This sentence is not very clear for me. Is "semantic registry" = "metadata registry" ? What is a constraint schema ?

We all know that zip codes should be 5 or 9 digits and that a 12 digit zip code may only have meaning in a specific context.
 * Well I am not part all, maybe because I am French. For me a French zip code is always 5 digits ! So I don't have the cultural background to understand the explanation.

Dom