Disable First Option in Form Select Input

site profile thumbnail

Description

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"
selectselectioncustomselecttutorialmemberscriptcustomcodecustom codecodejavascriptcustomjavascriptformdropdownselect2selectbox

More by Memberstack

See profile