s taylor wrote:
Hello.

How can I map a drop-down box for 'customer.pl'?

FROM:
====
<input type="text" name="state" value="$QData{"UserState"}" size="2" maxlength="2">

TO:
===
<select name="state" size=1 maxlength=40 width=15>
<option VALUE="" selected>Select a State
<option VALUE="AL">Alabama
<option VALUE="AK">Alaska
<option VALUE="AZ">Arizona
etc.

How to incorporate this:
~~~~~~~~~~`
value="$QData{"UserState"}"
~~~~~~~~~~`

which is used in the <input...> statement???
Hi Taylor,

I changed

<tr>
         <td class="contentkey">$Text{"Subject"}:</td>
<td class="contentvalue"><input type="text" name="Subject" value="$QData{"Subject"}" size="60"></td>
       </tr>

to

<tr>
         <td class="contentkey">$Text{"Subject"}:</td>
         <td class="contentvalue">
               <select name="Subject">
<option value="Hardware" selected="selected">Hardware</option>
                       <option value="OS Software">OS Software</option>
                       <option value="LAN">LAN</option>
                       <option value="Network">Network</option>
<option value="Application Software">Aplication Software</option>
                       <option value="Anti Virus">Anti Virus</option>
                       <option value="Others">Others</option>
               </select>
         </td>
        </tr>


And I got my new drop downs which will appear in the subject lines based on the drop down selection.

Hope this helps.

PD
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support orr consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to