Oh, right you are; I apparently did a very poor job testing the Javascript. It's fixed now, and I both checked the fix in to SVN and snuck it into version 1.54.
As for having a mandatory radiobutton field just have none of the buttons checked initially, the issue is that some browsers will automatically check the first button if that's the case, so it's not a dependable solution (see http://www.w3.org/TR/html401/interact/forms.html#h-17.2.1 , under "radio buttons"). -Yaron On Thu, Mar 12, 2009 at 5:49 AM, Daniel <[email protected]> wrote: > > Thanks for the new version. > But I'm sorry to say, it seems, it's still not working. (or did I do > something wrong ?) > When I declare a field as of type radiobutton, mandatory, it shows up > in the the form with the "allowed values", preceded by selected value > "None". Now it's possible to save the new page without doing any > input, except there are some other mandatory fields in the form. > For me, value "None" should only be visible when the field is NOT > mandatory, but none of the "allowed values" should be preselected for > mandatory fields. > > I did setup an example at http://scratchpad.referata.com, after I > checked SF is on 1.5.4 already. > There you can have a look on: > - http://scratchpad.referata.com/wiki/Form:Stiftungsinfo > - http://scratchpad.referata.com/wiki/Template:Stiftungsinfo > - http://scratchpad.referata.com/wiki/Property:Projektstatus > - http://scratchpad.referata.com/wiki/Stiftung1dst > - http://scratchpad.referata.com/wiki/Stiftung2dst > - http://scratchpad.referata.com/wiki/Stiftung3dst > > -Daniel > > > On 10 Mrz., 01:40, Yaron Koren <[email protected]> wrote: > > Ah, now I remember the issue: I had turned off validation for > radiobuttons, > > because it has to be done differently than for any other input type, > since > > each button in a radiobutton is a separate input. But there's an easy > > workaround, now that I think about it - this will go into the next > version. > > > > -Yaron > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Semantic Forms" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/semantic-forms?hl=en -~----------~----~----~----~------~----~------~--~---
