B
Brooks Clayton
I have an asp page on my website pulling from an MS database. On this
page, among other data, is a FedEx tracking number. This tracking
number is a hyperlink and uses the following code:
http://www.fedex.com/cgi-bin/tracking?template_type=plugin&tracknumbers=<%=FP_FieldURL(fp_rs,"TrackingNo")%>&action=track&language=english&cntry_code=us
It works well, taking the viewer to the FedEx results page for that
number. The problem now is that we are also using Airborne and would
like for user to automatically be taken to Airborne's page for the
results, if it is an Airborne number. FedEx and Airborne use a
different number of characters in their tracking numbers.
Question: Can I use a conditional hyperlink based upon the lenth of
the tracking number? Like an IF statement? Any help or code
appreciated. (I have the code from Airborne for their site) Thanks
Brooks
page, among other data, is a FedEx tracking number. This tracking
number is a hyperlink and uses the following code:
http://www.fedex.com/cgi-bin/tracking?template_type=plugin&tracknumbers=<%=FP_FieldURL(fp_rs,"TrackingNo")%>&action=track&language=english&cntry_code=us
It works well, taking the viewer to the FedEx results page for that
number. The problem now is that we are also using Airborne and would
like for user to automatically be taken to Airborne's page for the
results, if it is an Airborne number. FedEx and Airborne use a
different number of characters in their tracking numbers.
Question: Can I use a conditional hyperlink based upon the lenth of
the tracking number? Like an IF statement? Any help or code
appreciated. (I have the code from Airborne for their site) Thanks
Brooks