Clone Project

Disable First Option in Form Select Input

Created by
Similar Projects
Oops! Something went wrong while submitting the form.

0 Comments

Be the first to leave a comment.
Loading
User is typing...
No Name
Set
4 years ago
Moderator
This is the actual comment. It's can be long or short. And must contain only text information.
(Edited)
No Name
Set
2 years ago
Moderator
This is the actual comment. It's can be long or short. And must contain only text information.
(Edited)
Load More
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Load More
Description:  
Description from Webflow:  
Happy Thursday! I came across a popular forum thread in need of an update, so figured I'd release a cloneable to go with the solution. TLDR: Webflow select inputs come with a "placeholder" option. If you want to prevent the user from selecting that option then you need to add a bit of custom code to hide it. Clone the project and grab the closing <body> tag code or checkout MemberScript #49 to copy and paste. www.memberstack.com/scripts/49-disable-first-option-in-a-select-input Each input (with the placeholder disabled) has an attribute of ms-code="hide-first-option"
Tags from Webflow: 
select,  selection,  customselect,  tutorial,  memberscript,  customcode,  custom code,  code,  javascript,  customjavascript,  form,  dropdown,  select2,  selectbox
.