[ic] Default State selection in checkout.html
Gabriel Cooper
gabriel.cooper at mediapulse.com
Wed Jul 16 11:01:03 EDT 2003
DB wrote:
>> You should just be able to put something like <option value="">Select
>> State</option> just under <select name="state">. Depending on the
>> checkout
>> profile settings, the user will get an error and the field will be
>> highlighted in red if he submits without selecting.
>>
>> Cameron
>
>
>
> Here's the section where (I think) the dropdown list is created.
>
> <td align="left" class="contentbar1">
> [loop search="
> fi=state.txt
> sf=country
> se=[default country US]
> rf=state,name,country
> tf=sorder,name
> ml=100
> "
> option=state]
> [on-match]<SELECT onChange="check_tax(this.form)"
> NAME=state>[/on-match]
I'm guessing, but I would put it here.
<option>Select State</option>
>
> [list]
> [loop-change 1][condition][loop-param country][/condition]
> <OPTGROUP LABEL="[data table=country col=name
> key='[loop-param country]']">
> [/loop-change 1]
> <OPTION VALUE="[loop-code]">[loop-pos 1]
> [/list]
> [on-match]</SELECT>[/on-match]
> [no-match]<INPUT NAME=state VALUE="[value state]"
> SIZE=20>[/no-match]
> [/loop]
> </td>
>
> Sorry to be dumb, but can you tell me where exactly I should put your
> suggestion? Thanks again!
>
> DB
>
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>
More information about the interchange-users
mailing list