[TYPO3-project-formidable] FORMIdable & XHTML

Manuel Rego Casasnovas mrego at igalia.com
Thu Jun 28 18:37:01 CEST 2007


Hello,

We have solved this issue changing all the "[" in the ids for "_".
We don't use javascript, but I don't know if that this solution can have
bad effects.

However in the property name "[" and "]" are valids, I don't understand
the different between this properties.

Bye,
   Rego

-- 
Manuel Rego Casasnovas
Computer Science Engineer
mailto:mrego at igalia.com
Tel: +34 986 10 76 10
Fax: +34 981 91 39 49
Igalia - http://www.igalia.com


Luc Muller escribió:
> Yep...
>
> we already think about that *a lot*
> some people go crazy about this point, now they're under medications... some 
> other... well...
>
> In fact some people... at the W3C "randomly" decided that you CAN'T use 
> "["and "]" in you Id's
> but some other people thought that using "[" and "]" could easily turn POST 
> vars into table... this is used in FORMidable
>
> in this way... FORMidable can be fully valide at the W3C except for the ID's 
> points
>
> except the facts some people says that we can't use those chars, FORM 
> validates everypoints of the W3C...
> id's stuff do not makes accessibity problems...
>
> we're just wondering WHY did the W3C takes a such standard... if any's got 
> ID, but when validating, you can see that it just not respect any writing 
> conventions... no semantic problems or strutural problems just non 
> conventional...
>
> Luc
>
> "Manuel Rego Casasnovas" <mrego at igalia.com> a �crit dans le message de news: 
> mailman.4226.1183046007.4800.typo3-project-formidable at lists.netfielders.de...
>   
>> Hello,
>>
>> First at all I have one question, the HTML code generates by FORMidable
>> is XHTML or only HTML?
>>
>> I thought that FORMidable generates XHTML code.
>> But I have been validating the code with the W3C validator
>> (http://validator.w3.org/) and I've problems with the square brackets in
>> the identifier for the input fields. For example:
>> <input type="text" name="my_form[name]" id="my_form[name]"
>> onkeypress="eval('{' +
>> unescape('Formidable.Events.submitOnEnter%28%27my_form_ba7e0%27%2C%20this%2C%20event%29')
>> + ';}');"   />
>>
>> If you try to validate this input you get an error: character "[" is not
>> allowed in the value of attribute "id"
>>
>> I don't know if you knew this problem before.
>>
>> Are you going to correct it? What is your opinion?
>>
>> Best regards,
>>   Rego
>>
>> -- 
>> Manuel Rego Casasnovas
>> Computer Science Engineer
>> mailto:mrego at igalia.com
>> Tel: +34 986 10 76 10
>> Fax: +34 981 91 39 49
>> Igalia - http://www.igalia.com 
>>     
>
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> TYPO3-project-formidable mailing list
> TYPO3-project-formidable at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-formidable


More information about the TYPO3-project-formidable mailing list