HTML5 serialization and @required.
Friday, 27 May 2016 · 3 messages
FB
France Baril27 May 2016 04:16 #
I created forms that use <input *id*=*"browse-to-zip"* *enctype*= *"multipart/form-data"* *name*=*"zip"* *required*=*"required"* *type*= *"file"*/>
I was hoping that it would serialize to: <input id="browse-to-zip"
enctype="multipart/form-data" name="zip" required type="file">, but I
get <input
id="browse-to-zip" enctype="multipart/form-data" name="zip"
required="required" type="file">.Is it possible to get something well formed to serialize to @required?
--
France Baril
Architecte documentaire / Documentation architect
france.baril at architextus.com
CG
Christian Grün27 May 2016 10:40 #
Hi France,
I have updated the list of boolean HTML attributes; it will work with the latest snapshot.
Best,
Christian
Quoted text · France Baril · 16 lines
On Fri, May 27, 2016 at 2:16 AM, France Baril <france.baril at architextus.com> wrote: > I created forms that use <input id="browse-to-zip" > enctype="multipart/form-data" name="zip" required="required" type="file"/> > > I was hoping that it would serialize to: <input id="browse-to-zip" > enctype="multipart/form-data" name="zip" required type="file">, but I get > <input id="browse-to-zip" enctype="multipart/form-data" name="zip" > required="required" type="file">. > > Is it possible to get something well formed to serialize to @required? > > -- > France Baril > Architecte documentaire / Documentation architect > france.baril at architextus.com
FB
France Baril27 May 2016 22:57 #
Awesome! Thank you!
Quoted text · Christian Grün · 30 lines
On Fri, May 27, 2016 at 1:40 AM, Christian Grün <christian.gruen at gmail.com> wrote: > Hi France, > > I have updated the list of boolean HTML attributes; it will work with > the latest snapshot. > > Best, > Christian > > > > On Fri, May 27, 2016 at 2:16 AM, France Baril > <france.baril at architextus.com> wrote: > > I created forms that use <input id="browse-to-zip" > > enctype="multipart/form-data" name="zip" required="required" > type="file"/> > > > > I was hoping that it would serialize to: <input id="browse-to-zip" > > enctype="multipart/form-data" name="zip" required type="file">, but I get > > <input id="browse-to-zip" enctype="multipart/form-data" name="zip" > > required="required" type="file">. > > > > Is it possible to get something well formed to serialize to @required? > > > > -- > > France Baril > > Architecte documentaire / Documentation architect > > france.baril at architextus.com >
--
France Baril
Architecte documentaire / Documentation architect
france.baril at architextus.com
Written for BaseX 8.4. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery