[ic] checkout.html

Greg Goble interchange-users@icdevgroup.org
Fri Jun 6 08:37:01 2003


René Hertell wrote:
> >> Is there anyway I can force the format I want, i.e. July 4, 2003?
>> >> NOT/NOTt; 7/4/03 or Jul 4, 03, etc....???
>> >
>> >How does your date-code look like?
>>
>> Rene,
>>
>> This is what I have on my checkout.html page:
>>
>> [snip]
>> <td class=form>
>> <INPUT TYPE="text" NAME="arrival" VALUE="[value arrival]"
>size=20><br>
>> <font size="1">Date Format: February 9, 2003</font>
>> </td>
>> [/snip]
>>
>> It simply takes the arrival date as the customer inputs it. Thus my
>> attempt to provide the format by example, as I prefer.
>
>Why do you not use dropdown-boxes one for day, month and year (like the
>date-widget in the admin UI)? Withi this the customer can't
>mess with the
>dates at all...
>

René,

Thanks for you time on this. I even have some dropdowns working on checkout, but not in combination. I looked at the date selector
in the admin interface, and along with that and my drop downs I came up with the following [snip]. But it does not work. Am I
missing something here?? If I just you the January selector it works fine. I think the problem hangs with the combination of other
selects and inputs...

[snip]
<td class=form valign=top>

<SELECT NAME="departure">
<OPTION [selected name=departure value="January"]>January
</SELECT>
	<INPUT TYPE=hidden NAME="month" VALUE=" ">

<SELECT NAME="departure" style="font-size:90%">
<OPTION [selected name=depature value="1"]>1
</SELECT>

<INPUT TYPE=hidden NAME="month" VALUE=", ">

<SELECT NAME="departure" style="font-size:90%">
<OPTION [selected name=departure value="2003"]>2003
</SELECT>
         </td>
[/snip]
The admin interface has one last input:

<INPUT TYPE=hidden NAME="ui_filter:month" VALUE="date_change">

at the end. I'm not sure how and if this should come into play.

Thanks in advance, Greg G.