I have an XForm that has certain fields that may often be left blank (optional street address). Is there is technique to set a default value for that field, preferably a space (I am running into weird formatting issues with CSS). The html form way of value=""
doesn't work, neither does setting a default value in the XML schema.
EXAMPLE:
<xforms:input ref="clientaddress/streetaddress2" model="model_inventory" >
<xforms:label>Street Address (Line 2)</xforms:label>
Leaving this field blank results in <streetaddress2/>
in the resulting xml document
I want
<streetaddress> </streetaddress>