form css to replace "select..."

JD_Nelson
Level 10 - Community Advisor

form css to replace "select..."

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

.mktoForm select.mktoField {

?????

6 REPLIES 6
SanfordWhiteman
Level 10 - Community Moderator

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

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

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

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...?

JD_Nelson
Level 10 - Community Advisor

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

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

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

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

Callum_Pirie
Level 3

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

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

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

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).