This is from "adsdb" html.pl these are the lines of interest. (and then some) 20-26, 35, 303, 304, 474, 527, 528 & 706 sub html_record_form_tap { # -------------------------------------------------------- # The form fields that will be displayed each time a record is # edited (including searching). You don't want to put the #
tags for each field. # The values to be displayed are in %rec and should be incorporated # into your form. You can use &build_select_field, &build_checkbox_field # and &build_radio_field to generate the respective input boxes. Text and # Textarea inputs can be inserted as is. If you turn on form auto # generation, the program will build the forms for you (all though they may # not be as nice). See the README for more info. my (%rec) = @_; $rec{$db_key} =~ s/.B>//g; ($db_auto_generate and print &build_html_record_form_tap(%rec) and return); if ($in{'company'}) { $rec{'Company'} = $in{'company'}; # $rec{'company'} =~ s/zzzzz/&/g; # this converts zzzzz to & } my $font = 'Font face="Tahoma" Color=#003399'; print qq|$in{'Company'} | |||||||||
Company Information | Sales Information | ||||||||
Promotion: | Week | Sale:|; print &build_select_field ("Tap", "$in{'Tap'}"); print qq| | |; print qq! !; print qq| | ||||||
|; print &build_select_field ("Promotion", "$in{'Promotion'}"); print qq| | |; print &build_select_field ("Pdate", "$in{'Pdate'}"); print qq| | Enter week number as 2 digits exp:02 or 03. | |||||||
Company: History | |||||||||
AD Size: |; print &build_select_field ("AD_Size", "$in{'AD_Size'}"); print qq| | Art: |; print &build_select_field ("Art", "$in{'Art'}"); print qq| | Proof: |; print &build_select_field ("Proof", "$in{'Proof'}"); print qq| | |||||||
Contact: | AD Size 2:|; print &build_select_field ("AD_Size2", "$in{'AD_Size2'}"); print qq| | Art2:|; print &build_select_field ("Art2", "$in{'Art2'}"); print qq| | Proof2:|; print &build_select_field ("Proof2", "$in{'Proof2'}"); print qq| | ||||||
Address: |
Banner:|; print &build_select_field ("Banner", "$in{'Banner'}"); print qq| | Art3:|; print &build_select_field ("Art3", "$in{'Art3'}"); print qq| | Proof3:|; print &build_select_field ("Proof3", "$in{'Proof3'}"); print qq| | ||||||
Jumbo:|; print &build_select_field ("Jumbo", "$in{'Jumbo'}"); print qq| | Art4:|; print &build_select_field ("Art4", "$in{'Art4'}"); print qq| | Proof4:|; print &build_select_field ("Proof4", "$in{'Proof4'}"); print qq| | |||||||
City, State Zip: |
Table:|; print &build_select_field ("Table", "$in{'Table'}"); print qq| | ||||||||
Phone: | Art Dept will update this section. | Do not change anything in this area!!!. | Tickets: | ||||||
AD Page Number | ![]() |
VIP Tickets: | |||||||
Alt Phone | AD2 Page Number | ![]() |
Memorabilia: | ||||||
Banner Number | ![]() |
|; print &build_select_field2("Memorabilia",$in{'Memorabilia'},'',6); print qq| | To enter multiple options, you must hold the CTRL key while making your selections. | ||||||
Email: | Format xx\@xxx.xxx | Jumbo Number | ![]() |
||||||
Do we have all art work? | |; print &build_select_field ("Graphics", "$in{'Graphics'}"); print qq| | ||||||||
Sales Rep: |; print &build_external_select_field ("Userid", "$in{'Userid'}"); print qq| | |; print qq| |; } else { print qq||; } print qq| | ![]() |
|||||||
Red Flag: |; print &build_radio_field ("Red_Flag", "$rec{'Red_Flag'}"); print qq| | Lead |; print &build_select_field ("Lead", "$in{'Lead'}"); print qq| | Ad the name of the jersey(s) you tag here. | |; if ($per_admin) { print qq|Status | |; } else { print qq||; } print qq| | |||||
Date format mm/dd/yyyy | Special Inst: Do not put CC information in Special Inst. | Jersey(1) |; if ($per_admin) { print qq| |; print &build_select_field ("JDel1", "$rec{'JDel1'}"); print qq| | |; } print qq||||||||
Payment Method |; print &build_select_field ("Payment", "$in{'Payment'}"); print qq| | Jersey(2) |; if ($per_admin) { print qq| |; print &build_select_field ("JDel2", "$rec{'JDel2'}"); print qq| | |; } print qq|||||||||
Pickup Date | Jersey(3) |; if ($per_admin) { print qq| |; print &build_select_field ("JDel3", "$rec{'JDel3'}"); print qq| | |; } print qq|||||||||
Currency Format \$1500.00 NO COMMA'S | Jersey(4) |; if ($per_admin) { print qq| |; print &build_select_field ("JDel4", "$rec{'JDel4'}"); print qq| | |; } print qq|||||||||
Amount   | |; # } print qq||||||||||
Collected Date   | |; } else { print qq||; } print qq| |
ID:$rec{'ID2'}, Last Date Modifed: $rec{Date} Sales Rep: $rec{'Userid'} | |||||||
Promotion: | |; if (( $rec{'Address'} && $rec{'CSZ'} ) ) { $addr = &urlencode($rec{'Address'}); $city = &urlencode("$rec{'CSZ'}"); print qq| Map It |; } print qq| | Week | $rec{'Week'} | Sale: | $rec{'Tap'} | |; print qq! !; print qq| | |
$rec{'Promotion'} | $rec{'Pdate'} | ||||||
Company: | |||||||
$rec{'Company'} | AD Size: $rec{'AD_Size'} | Art: $rec{'Art'} | Proof: $rec{'Proof'} | ||||
Contact: | AD Size 2: $rec{'AD_Size2'} | Art2: $rec{'Art2'} | Proof2: $rec{'Proof2'} | ||||
$rec{'Contact'} | |||||||
Address: |
Banner: $rec{'Banner'} | Art3: $rec{'Art3'} | Proof3: $rec{'Proof3'} | ||||
$rec{'Address'} | Jumbo: $rec{'Jumbo'} | Art4: $rec{'Art4'} | Proof4: $rec{'Proof4'} | ||||
City: |
Table: $rec{'Table'} | ||||||
$rec{'CSZ'} | |||||||
Phone: | |||||||
$rec{'Phone'} | AD Page Number | $rec{'ADNumber'} | ![]() |
Tickets | $rec{'Tickets'} | ||
Alt Phone | AD2 Page Number | $rec{'ADNumber2'} | ![]() |
VIP Tickets | $rec{'VIP'} | ||
$rec{'Alt_Phone'} | Banner Number | $rec{'BNumber'} | ![]() |
Memorabilia: | $rec{'Memorabilia'} | ||
Email: | Jumbo Number | $rec{'JNumber'} | ![]() |
||||
$rec{'Email'} | Do we have all art work? | $rec{'Graphics'} | Status | ||||
Red Flag: $rec{'Red_Flag'} | Lead: $rec{'Lead'} | Jersey(1) | $rec{'JName1'} | $rec{'JDel1'} | |||
Payment Method $rec{'Payment'} | ![]() |
Jersey(2) | $rec{'JName2'} | $rec{'JDel2'} | |||
Pickup Date $rec{'Pickup_date'} | Jersey(3) | $rec{'JName3'} | $rec{'JDel3'} | ||||
Amount $rec{'Amount'} | Jersey(4) | $rec{'JName4'} | $rec{'JDel4'} | ||||
Collected Date $rec{'Collected_date'} |
Special Inst: $rec{'Special_Inst'} |
ID:$rec{'ID2'}, Last Date Modifed: $rec{Date} Sales Rep: $rec{'Userid'} | |||||||
Promotion: | Week | $rec{'Week'} | Sale: | $rec{'Tap'} | |; print qq! !; print qq| | ||
$rec{'Promotion'} | $rec{'Pdate'} | ||||||
Company: |
|||||||
$rec{'Company'} | AD Size: $rec{'AD_Size'} | Art: $rec{'Art'} | Proof: $rec{'Proof'} | ||||
Contact: | AD Size 2: $rec{'AD_Size2'} | Art2: $rec{'Art2'} | Proof2: $rec{'Proof2'} | ||||
$rec{'Contact'} | |||||||
Address: |
Banner: $rec{'Banner'} | Art3: $rec{'Art3'} | Proof3: $rec{'Proof3'} | ||||
$rec{'Address'} | Jumbo: $rec{'Jumbo'} | Art4: $rec{'Art4'} | Proof4: $rec{'Proof4'} | ||||
City: |
Table: $rec{'Table'} | ||||||
$rec{'CSZ'} | |||||||
Phone: | |||||||
$rec{'Phone'} | AD Page Number | $rec{'ADNumber'} | ![]() |
Tickets | $rec{'Tickets'} | ||
Alt Phone | AD2 Page Number | $rec{'ADNumber2'} | ![]() |
VIP Tickets | $rec{'VIP'} | ||
$rec{'Alt_Phone'} | Banner Number | $rec{'BNumber'} | ![]() |
Memorabilia: | $rec{'Memorabilia'} | ||
Email: | Jumbo Number | $rec{'JNumber'} | ![]() |
||||
$rec{'Email'} | Do we have all art work? | $rec{'Graphics'} | Status | ||||
Red Flag: $rec{'Red_Flag'} | Lead: $rec{'Lead'} | Jersey(1) | $rec{'JName1'} | $rec{'JDel1'} | |||
Payment Method $rec{'Payment'} | Jersey(2) | $rec{'JName2'} | $rec{'JDel2'} | ||||
Pickup Date $rec{'Pickup_date'} | Jersey(3) | $rec{'JName3'} | $rec{'JDel3'} | ||||
Amount $rec{'Amount'} | ![]() |
Jersey(4) | $rec{'JName4'} | $rec{'JDel4'} | |||
Collected Date $rec{'Collected_date'} |
Special Inst: $rec{'Special_Inst'} |