• The Add New Field docs state: “With drop-down: you have to add all options into label for example: label/item1,item2,item3.”

    That would be eg. “Company/Microsoft,Google,Yahoo”, right?

    But how should I set up a dropdown field for people who have not yet selected their Company? If I do “Company/,Microsoft,Google,Yahoo” (with that first space), “” is a value all the same, yes? (This seems inconsistent with unticking “Can be empty”).

    Basically, I’d like a bit more info on setting up dropdowns, and more docs in general, please.

    Thanks.

    http://wordpress.org/plugins/cimy-user-extra-fields/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Marco Cimmino

    (@cimmo)

    “Company/,Microsoft,Google,Yahoo” + uncheck “Can be empty” rule.
    That means user has to choose something that is not the first empty choice.

    You got it right, so I don’t understand what you are asking me.

    Thread Starter parakeet

    (@parakeet)

    For existing users rather than new registrants, the field starts with “” preselected, so it probably can be empty. Can the drop down have *no* value, rather than “”, until an existing user adds her Cmpany?

    Plugin Author Marco Cimmino

    (@cimmo)

    It can be empty for existing users, but as soon as they have to update their profile, then they are forced to select something.

    You can use any words as first choice, like “— not selected —“, but then you have to use a regular expression to forbid users to register with it.

    Thread Starter parakeet

    (@parakeet)

    So, as far at the plugin is concerned, “” is not empty but a pre-saved field is empty?
    Might be worth allowing a non-selected entry?
    Or maybe that’s not that way dropdowns work and I don’t understand.

    Anyway, thanks for the plugin.

    Plugin Author Marco Cimmino

    (@cimmo)

    You cannot prevent existing users to have saved stuff on an extra fields that wasn’t there when they registered. This has nothing to do with the dropdown itself.
    If you add an extra field later then you have to live with the fact that existing users may not be back to change their profile.

    I could disrupt their navigation or do more, like sending an email, but I think it will be very harassing.
    So for now I don’t understand what you want to do more than what you already created.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘How to set drop-down at start?’ is closed to new replies.