Forum

Thread tagged as: Question, Problem

Forms - Initially selected option on select menus

Hi Guys

Having an issue on how to show a default message on a select menu in the Perch forms app.

<perch:input type="select" id="type" options="Type1, Type2, Type3, Type4, Type5" />

I saw an old forum post showing that could use default="" but I've tried that as below and it defaults to the first in the options list.

<perch:input type="select" id="type" default="Select Type" options="Type1, Type2, Type3, Type4, Type5" />

Any ideas?

Nik Gill

Nik Gill 1 points

  • 7 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Select Type doesn't appear in your options list, so it can't be selected.

Easy. Cheers