Re: radio buttons d2w
Re: radio buttons d2w
- Subject: Re: radio buttons d2w
- From: David Holt <email@hidden>
- Date: Wed, 10 Apr 2013 08:11:10 -0700
I think you can do it by making the relationship mandatory.
Sent from my iPad
On 2013-04-10, at 7:33 AM, Ramsey Gurley <email@hidden> wrote:
> 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
_______________________________________________
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