Only thing is... this does not work well in cascading select custom filed. If you select parent value ABC.... child field still stays at NONE and you can submit when entire field should be mandatory/required. Go figure...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thrinay,
can you provide some more information about the field and the setup? Because if you set a field required in the field configuration it will definitely not be possible to select (and save) "None" as value.
Best, Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I wasn't referring to select and save a None value. All I see is None value being shown when a field is set to required.
A small description of my use case:
1) I want a custom field that should be set to required, just so that it forces the user to select a value their.
2) The user can also select a Value None and can be able to save it.
How would you think that it can be resolved?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
"None" means "empty". Empty is what the "mandatory" flag is there to prevent.
You can't set a mandatory field to "none" because that is what mandatory does NOT mean.
To allow your users to select "none", make the field optional.
If you mean you want to force your users to change a value, then you'll need a validator to check the entered data on a transition has changed from the previous value. You'll need some code for that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.