Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Never, there is nothing to validate.... ok, when will it be?
Set the field as required. It handles required same as any other field. The value "-" is valid, it needs to be an empty string. It uses the same API as a normal select field except it passes the options array from the result of your query instead of from the field values database table. CB automatically adds the blank value to a select field so you shouldn't need to add one.... it is necessary : when the field is requiered and the user did not choose an option, so I need validation to validate the current option is not "-"
Please Log in or Create an account to join the conversation.
... not in my CB, first option is a value from the db, not a blank. What could be missing here?CB automatically adds the blank value
Please Log in or Create an account to join the conversation.
Please see the below of it working fine. If it's non-required there will always be a blank. If it's required and there isn't a value (e.g. registration) then there will be a blank. If it's required and there is a value (e.g. profile edit) then there will not be a blank.... not in my CB, first option is a value from the db, not a blank. What could be missing here?
Please Log in or Create an account to join the conversation.