We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
Tags:
create new tag
, view all tags

Question

Since nobody has answered, it is possible that there isn't a way to do it, or maybe I didn't fully describe my question. So lets have another stab at it.

How do I make a required field for a form?

I can define a form like:

Name Type Size Values Tooltip Message
ProductRevision select 10 -- select --, 4.0.3, 4.0.4, 4.0.5 Must select product version

However is there any way (as on the registration form) to refuse the save if the value of the ProductRevision field is "-- select --".

I am pulling some of these requirements from the forms support in elog.

Maybe a required column in the form definition?

  • TWiki version:
  • Web server: apache
  • Server OS: linux
  • Web browser: ie 5.5
  • Client OS: windown nt 4pl5

-- JohnRouillard - 20 Nov 2001

Answer

Required fields are currently not supported for forms. This is one of the Codev.FormTemplateFutureIdeas as you described.

-- PeterThoeny - 24 Nov 2001

Topic revision: r3 - 24 Nov 2001 - 08:38:16 - PeterThoeny
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback