Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion How do i get wforms 3.0 validation working?

MIME-Version: 1.0
Received: by 10.100.132.14 with SMTP id f14mr54422and.17.1225752390727; Mon, 
	03 Nov 2008 14:46:30 -0800 (PST)
Date: Mon, 3 Nov 2008 14:46:30 -0800 (PST)
In-Reply-To: <3dfcd682-87e8-41d7-99a9-3aaf2cf1c278@t39g2000prh.googlegroups.com>
X-IP: 98.223.244.222
References: <3dfcd682-87e8-41d7-99a9-3aaf2cf1c278@t39g2000prh.googlegroups.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) 
	Gecko/2008092417 Firefox/3.0.3,gzip(gfe),gzip(gfe)
Message-ID: <21a8b0d5-4630-4f20-8972-e1e2bc2b7170@v13g2000pro.googlegroups.com>
Subject: Re: How do i get wforms 3.0 validation working?
From: cedsav <cedric.savar...@gmail.com>
To: wForms Group <wforms-group@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

We left that out of v3 (the implementation in v2 was buggy).

You can use this instead:
http://code.google.com/p/wforms/source/browse/tags/3.0/customization/wforms=
_custom_clear_switch.js

(download a copy and include the file after loading wforms.js)

This clears field values when the fields are switched off. Note that
the fields are submitted anyway (they're just blank), so that may not
do exactly what you need.


On Nov 3, 5:32=A0pm, "reli...@gmail.com" <reli...@gmail.com> wrote:
> I am trying to force the feature on that will not submit hidden form
> values, i checked the 2.0 documentation and it said
>
> =A0 =A0 wFORMS.behaviors.validation.submitSwitchedOffFields =3D false;
>
> i tried adding this right below
>
> <script type=3D"text/javascript" src=3D"/lib/wforms.js"></script>
>
> and it did nothing
>
> i even added a class=3D"required" to one of the fields, but that
> wouldn't