Re: radio buttons d2w
Re: radio buttons d2w
- Subject: Re: radio buttons d2w
- From: Ramsey Gurley <email@hidden>
- Date: Wed, 10 Apr 2013 07:33:42 -0700
There isn't a way to do that with the existing component. It was specifically set up that way because automatically selecting a field leads to users using that selection accidentally. By forcing them to select the field, there are fewer mistakes. If they leave "No Selection" then they get a validation error drawing their attention to the field they overlooked.
You could subclass the ERD2WEditToOneRelationship and change the bindings if you like, but you'll probably run into the same issue in form usability.
Ramsey
On Apr 10, 2013, at 7:10 AM, Gabor wrote:
> Hi guys,
>
> I got a little problem with D2W. I have a selection for the gender(Male, Female) when I create a new user.
> I want this selection displayed with radio buttons. And D2W displays always three possible selections.
> "No Selection" , "Male" and "Female". Is there a way to remove "No Selection" ? I only want "Male" and "Female".
>
> Gabor Raz
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden