SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Feb 2002
    Location
    Ambler, PA, USA
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Problem finding field with variable # of characters at beginning of html name

    Hi Everyone,
    Our developers recently made a change that changed the html name from a defined amount of variable characters to a varying amount of variable characters.

    Old HTML Name:
    html_name: CvgSel_4052_BenSel_BENADB_ID_0, (4052 is a variable number)
    I used "html_name: "!CvgSel_...._BenSel_BENADB_ID_0"," to compensate for the 4 variable characters.

    New HTML Name:
    html_name: CvgSel_30202445_BenSel_BENADB_ID_0, (30202445 is a variable value with a varying amount of characters.)

    The varying amount of characters is causing me problems and I can't get passed it. I can't use the standard wildcard !.* because I need data to the right of the variable characters to differentiate the field from other fields on the same page.

    Is there a wildcard I can use to make the first half of the HTML name variable? I need "BenSel_BENADB_ID_0" to stay and everything to the left of this can be considered variable.

    Any suggestions will be helpful.

    Thanks!

  2. #2
    Moderator
    Join Date
    Mar 2000
    Location
    Orange County, CA
    Posts
    3,187
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Problem finding field with variable # of characters at beginning of html name

    "!.*BenSel_BENADB_ID_0" would give you 'any and everything but must contain "BenSel_BENADB_ID_0" at the end of the information'
    Insanity: doing the same thing over and over again and expecting different results

  3. #3
    Junior Member
    Join Date
    Feb 2002
    Location
    Ambler, PA, USA
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Problem finding field with variable # of characters at beginning of html name

    Originally posted by Tony Davis:
    "!.*BenSel_BENADB_ID_0" would give you 'any and everything but must contain "BenSel_BENADB_ID_0" at the end of the information'
    <font size="2" face="Verdana, Arial, Helvetica">Thanks for your help Tony! Its working.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 7.69%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 02:20 PM.

Copyright BetaSoft Inc.