Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASP Search Field Help?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
ASP Search Field Help?
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01253340
Message ID:
01253340
Vues:
67
Hi All,

Basically i am trying to add an additional search to a website, my ASP knowledge is quite limited although i seem to be getting there. i have introduced the search field into page and have the funtion setup. however what i dont seem to be able to find is the fields/functions its calling.

heres the function code:
function ViewExistingShippingAddresses2() {
if ((document.Update.search_ship_to2.value == "") || (document.Update.search_ship_to2.value == "Search By Cost Centre")) {
alert("Please enter a Cost Centre to search for. If you do not remember the full ID, enter the starting characters for a broader search.");
return false;
}
else { 
document.Update.MM_submit_action.value = 'ShippingAddresses';
document.Update.submit();
}
and the form field:
<input name="search_ship_to2" type="text" class="formstyleControl" id="search_ship_to2" tabindex="94" value="Search by Cost Centre" size="36" maxlength="100" onFocus="this.value='';"></td>
<td width="20"><input name="button_search_ship_from2" type="button" class="formstyleControl" value="Search" onClick="ViewExistingShippingAddresses2();">
im really just trying to find where i would pull the data from for this? how would i get it to search based upon cost centre rather then address?

(viewexistingshippingaddress2 is an additional field which i have created.

please someone help i've been stuck on this for days... really need some help

thanks,

Colin
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform