Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by LOW

  1. LOW

    Google Translate Issues w/Javascript Navigation

    We're using Google Translate on our site. When we translate a page and hit a regular link to another page, it displays as translated (that's what we want), however when selecting one of our navigation links (which are javascript includes), the new page goes back to English. Does anyone have a...
  2. LOW

    Date Range

    I'm trying to set a date range that will return something like this: 20080101..20090101 by using the following daterangeparm="+inmeta:DOC_DATE_NUM:" + year + "0101.." + (year+1) + "1231"; however, what is returned is: 20080101..200810101 The "1" is being added in as part of a string. How do I...
  3. LOW

    XSLT Question

    I'm going to rephrase my earlier question and hopefully make it more clear. Now, the value of target attribute is being returned in the results as “target=”_self”. The problem is that all records have that attribute value in the link. The records containing “sirepub” in DOCUMENT_URL should...
  4. LOW

    XSLT help

    Correction on my last message. I want the records containing 'sirepub' in the DOCUMENT_URL to have the target attribute value of "_blank". Currently, all records returned have the target value of "_self" including those containing "sirepub".
  5. LOW

    XSLT help

    Thank you. Now at least I'm returning target="_self" however that value is returned for all records not just the ones contained "sirepub" in the DOCUMENT_URL column. I believe my problem is with the way I'm trying to evalute the value in DOCUMENT_URL. <xsl:when test="$meta=$document_url and...
  6. LOW

    XSLT help

    I'm trying to add a little more logic to the following template named "drawcell" specifically to the "target" attribute within <a>. If the value within the DOCUMENT_URL column row contains "sirepub", I'd like the value to be "_blank", otherwise the value should be "_self". The param...
  7. LOW

    XSLT logic needed

    Thank you, you've been very helpful. DOCUMENT_URL is the name of a field within a database. Below is the code with a slight modification when referencing DOCUMENT_URL. I'm still struggling with the syntax. When the DOCUMENT_URL field contains "pubtest" within the field, then the href to equal...
  8. LOW

    XSLT logic needed

    I'm trying to add a little more logic to the following template named "drawcell" specifically to the param "linkfield" (top section of code). If a particular field DOCUMENT_URL contains "pubtest" in the url, I'd like the value to be <xsl:value-of select="MT[@N='DOCUMENT_URL']/@V"/> rather than...
  9. LOW

    Link Target

    I'm attempting to put some logic into a dynamically generated page with links. For example, if a link contains 'pubtext' in the url, I want the link to open in another window (target=_blank"). All other links to open in the same window (target="_self"). I"m just not sure how to accomplish this...
  10. LOW

    Required Field

    Thanks so much for you help, Feherke.
  11. LOW

    Required Field

    I have a form w/5 fields used for a search. It is required that one of the fields (doesn't matter which one) has input. If none of the fields has input, I either want an alert box to pop up or to block the submit. I know how to do this w/specific required fields but not sure how to accomplish...
  12. LOW

    Format Phone #

    Thank you. Would onChange be the preferred event handler for this? I'm a novice, so please forgive the dumb questions.
  13. LOW

    Format Phone #

    I would like to force a certain phone format xxx-xxx-xxxx in a form text field. Does anyone have an idea how to do that? Thank you.
  14. LOW

    Tracking Number for form submittal

    I currently have a form that when submitted writes to a flat file as well as generates an email. I need to also return a tracking number for each submittal. Does anyone have any ideas for how to accomplish this?
  15. LOW

    Macro to add next week of dates to spreadsheet

    The following module is meant to generate the next week (day of week in one column; actual date in the next). When I execute it, the days of the week populate the cells correctly but the date is incorrect. Rather than the next week following the week listed above, it's the week prior. Any ideas...

Part and Inventory Search

Back
Top