W3C home > Mailing lists > Public > www-forms@w3.org > June 2008

Re: submit doesn't appear as button

From: Ulrich Nicolas Lissť <unl@dreamlab.net>
Date: Thu, 12 Jun 2008 17:00:52 +0200
Message-ID: <48513A24.2040701@dreamlab.net>
To: "Pruitt, Byron S" <steve.pruitt@hp.com>
CC: "www-forms@w3.org" <www-forms@w3.org>

Also, you should check the online source of your examples. I guess it's 
w3schools.com, which is horribly outdated regarding XForms.

Have a look at the Forms WG wiki at http://www.w3.org/MarkUp/Forms/wiki/ 
which provides comprehensive and up-to-date resources.


Pruitt, Byron S wrote:
> I discovered an even greater issue.  IE has no embedded xform support. It looks like I have to install and deploy an xform player.
> I apologize for these obvious issues.  Hasty cut and paste from some online examples that I was tweaking.
> -S
> -----Original Message-----
> From: www-forms-request@w3.org [mailto:www-forms-request@w3.org] On Behalf Of Erik Bruchez
> Sent: Thursday, June 12, 2008 10:46 AM
> To: www-forms@w3.org
> Subject: Re: submit doesn't appear as button
> There are many issues with your example:
> * There is no <xforms> element in XForms. So you must remove that.
> * You need to place XForms elements in a namespace, e.g. <xforms:model>.
> * Your XForms namespace is wrong, you must use:
>    xmlns:xforms="http://www.w3.org/2002/xforms"
> * Your markup is not well-formed as your </body> element is not closed.
> * If you have as default namespace the HTML namespace, you must use xmlns="" on your instance's root element.
> See attached a modified version which seems to work for me.
> -Erik

Ulrich Nicolas Lissť
Received on Thursday, 12 June 2008 15:11:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:21 UTC