Page 1 of 1

Entering data into hotel reservation yield management site

Posted: Mon Oct 03, 2005 1:31 pm
by Oracle1
I have a page from a hotel reservation yield management service that I
am having a problem entering information into.

The screen has a calendar type interface that shows 4 room types per
day with various information per room per day. The rate and inventory
quantity fields are showing as separate fields and have separate
referenced in the same line, yet iOpus cannot tell the difference
between the two fields. Below is an example of one of the lines in
question.

<TR><TD><B>1</B></TD>
<TD>
<input onchange="return rateChangeMade(this)"
type=text name="1754~7/26/2005" size=6 class=rate
value="46.00">
</TD>
<TD>
<input name="1754~7/26/2005" onchange="return
qtyChangeMade(this)" type=text size=3 value="2" class=qty>
</TD>
</TR>

How do I get IM to put values in the two different fields?

The page changes every day because of the prior day disappearing so I
can't use the position type reference.

Re: Entering data into hotel reservation yield management si

Posted: Mon Oct 03, 2005 2:56 pm
by Tech Support
Please note that the name of both input fields is identical:

<TR><TD><B>1</B></TD>
<TD>
<input onchange="return rateChangeMade(this)"
type=text name="1754~7/26/2005" size=6 class=rate
value="46.00">

</TD>
<TD>
<input name="1754~7/26/2005" onchange="return
qtyChangeMade(this)" type=text size=3 value="2" class=qty>

</TD>
</TR>

Solution: My first idea is that this is a typical case for the POS statement:

After recording the input for the FIRST box (TAG POS=1....) edit the macro, copy this line make it TAG POS=2....

See also the macro "Demo-Tagposition" for more details.

Please let me know if the suggested solution works for you.

Posted: Mon Oct 03, 2005 3:05 pm
by Oracle1
Using POS=1... and POS=2... solved the problem :D

Thanks for your quick response!