|
Hello,
My form must be consistent with the Charter of accessibility. then I develope my input like this : <LABEL for="NumeroImmatriculation">Numéro immatriculation INSEE (SIRET):</LABEL> <xforms:input ref="/form/mdMontantDemande" class="FORMINPUTOBLIGATOIRE" id="NumeroImmatriculation" xhtlm:name="NumeroImmatriculation"></xforms:input> the attribute "for" of label must have the same value that the attribute "id" and "name" of the input. But, the generate html is like that : <LABEL for="NumeroImmatriculation">Numéro immatriculation INSEE (SIRET):</LABEL> ...<input id="input-NumeroImmatriculation" type="text" name="NumeroImmatriculation" value="10" class="xforms-input-input xforms-type-string">... the attribute "id" is not correct. How to change the generation of the attribute value "id" ? thank you. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
|
Administrator
|
Julien,
Mmm, you can't at the moment change this very easily. The reference from the label to the markup implementing the input is generated directly from Java code. But you are right to point this out: it seems that this is incorrect HTML, as labels must point to HTML form controls. I have entered a bug to track this: http://forge.objectweb.org/tracker/index.php?func=detail&aid=307757&group_id=168&atid=350207 -Erik [hidden email] wrote: > Hello, > > My form must be consistent with the Charter of accessibility. then I develope > my input like this : > > <LABEL for="NumeroImmatriculation">Numéro immatriculation INSEE > (SIRET):</LABEL> > <xforms:input ref="/form/mdMontantDemande" class="FORMINPUTOBLIGATOIRE" > id="NumeroImmatriculation" xhtlm:name="NumeroImmatriculation"></xforms:input> > > the attribute "for" of label must have the same value that the attribute "id" > and "name" of the input. > But, the generate html is like that : > <LABEL for="NumeroImmatriculation">Numéro immatriculation INSEE > (SIRET):</LABEL> > ...<input id="input-NumeroImmatriculation" type="text" > name="NumeroImmatriculation" value="10" class="xforms-input-input > xforms-type-string">... > > the attribute "id" is not correct. How to change the generation of the > attribute value "id" ? > thank you. > -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
|
Ok thank you.
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
| Free forum by Nabble | Edit this page |
