Question
Hi,
I am creating new topics on my twiki based on a form template.
The code looks something like this:
<form name="newtopic" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%"}%/">
<input type="hidden" name="formtemplate" value="IssueCategoryForm" />
<input type="hidden" name="templatetopic" value="ExampleForm2" />
New topic name <input type="text" name="topic" size="40" />
<input type="submit" value="Create Topic" />
</form>
On the IssueCategoryForm that I use as the form template, I have a formfield which is a checkbox (it has 3 values). By default, the first value is always checked when a new topic is created.
My question is: how can I disable that? I don't want any of the values to be checked by default...
All the docs I've read say that the exact same thing:
Initial values can then be provided in the URLs or as form values:
* other than checkboxes: name, ex: ?BugPriority=1
* checkbox: namevalue=1, ex: ?ColourRed=1.
Boxes with a tick must be specified.
"Can be provided in the URL?" What url? How do I do this? I haven't seen any concrete examples and I'm really stumped...
Thanks a lot for any help on this!
Environment
--
BehrouzBayat - 22 Jun 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
This sounds like a bug with Cairo, don't think there is a patch for it.
CheckboxDefaultToUnchecked is a similar report on this.
Anyway, the problem is fixed with Dakar - time to upgrade?
--
SteffenPoulsen - 25 Jun 2006
I guess so... thanks.
--
BehrouzBayat - 27 Jun 2006