Re: form css to replace "select..."

JD_Nelson
Level 10 - Community Advisor

Is there a way to override the 'select...' text in a dropdown on a form?  What's the

.mktoForm select.mktoField {

?????

6 REPLIES 6
JD_Nelson
Level 10 - Community Advisor

Turns out I wasn't hitting return after typing in the default value, just clicking save - which cancelled my changed...

also, good post: Re: Add "hint text" to "select" field type in form?

SanfordWhiteman
Level 10 - Community Moderator

That makes sense.  I've never had a problem with this functionality.

Callum_Pirie
Level 3

Hi all,

does this still work if youre hiding a select field with visibility rules? whenever i change the value from 'Select' to something different it just shows a blank field.

SanfordWhiteman
Level 10 - Community Moderator

If you use VRs, you have to include all the possible values in the base list (i.e. the base list must be a superset of all the possible options in all the possible cases).

SanfordWhiteman
Level 10 - Community Moderator

You don't do that in CSS, you do it in the Form Editor itself. Just go to that field and edit the values. The topmost value is the default text.

JD_Nelson
Level 10 - Community Advisor

I actually want to change the drop down though, not the label. Other fields would be the "Hint Text" but with a dropdown it defaults to the first selection in the list, which is 'select...' but when I change it, it doesn't save; it just keep 'select...' there has to be something overwriting it...?