Re: Passing Variables.. yikes, I'm dumb

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 26226
interpreted = N
texte = This should work:Here is your heck box:Here is where you tell it to pass your data:[showif [var-check]=T] Stuff you want to pass... [/showif] Mooseman>Ok, I'm still a newbie (I know, I know, throw your tomatoes) and I'm still >having problems with this. Is there a step by step way to help me >understand how to pass on hidden values like this with just a checkbox? I >need to pass on a whole address by someone just clicking a check box, but I >need it to work within the framework of the whole checkout.tpl, >invoice.tpl and thanks.tpl progression.... > > The WebCat/DNA documentation is just deplorable... > >HELP! > > > >- Mr. Moo > > > > >At 12:17 PM 1/12/2000 -0600, you wrote: >>I like to use a delimiter(|) just to be sure so I would do the following: >> >> >> >> >>Next page: >>[hideif [mysubinfo]=none] >>[listwords words=[mysubinfo]&delimiters=|][text][showif >>[index]=1]subtype[/showif][showif [index]=2]subamt[/showif][showif >>[index]=3]ExpDate[/showif]=[word][/text][/ListWords] >>[/hideif] >> >>This would set >>subtype to 3mo >>subamt to 15.00 >>expdate to 75032 >> >>or a little smaller but not with your exact variable names: >> >>[hideif [mysubinfo]=none] >>[listwords >>words=[mysubinfo]&delimiters=|][text]mysubinfo[index]=[word][/text][/ListWor >>ds] >>[/hideif] >> >>This would set >>Mysubinfo1 to 3mo >>Mysubinfo2 to 15.00 >>Mysubinfo3 to 75032 >> >>Robert Minor >>Director of Internet Services >>------------------------------------------------------------ >>Cybermill Communications >>http://www.cybermill.com http://www.merchantmaker.com >> >>Providing Ecommerce and interactive website development and >>hosting services on Macintosh, Windows NT, Unix, and AS/400. >> >> > From: Joseph D'Andrea >> > Reply-To: (WebCatalog Talk) >> > Date: Wed, 12 Jan 2000 13:02:33 >> > To: (WebCatalog Talk) >> > Subject: ListWords passing multi values in one form field >> > >> > I need to pass three pieces of data if a visitor checks a checkbox so I >> > thought I would use this: >> > >> > >> > >> > [NewExpDate] is calcutated earlier in the teplate like this: >> > >> > [math show=f]NewExpDate3={[format >> > days_to_date][TargetExpDate][/format]}+{3/0/0000}[/math] >> > >> > Questions is, how would I use ListWords to end up on the next page with >> this: >> > >> > SubType=3mo >> > SubAmt=15.00 >> > ExpDate=75032 >> > >> > Thanks, >> > ___Joe___ >> >> >>------------------------------------------------------------- >>Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. >>To end your Mail problems go to . >> >>This message is sent to you because you are subscribed to >> the mailing list . >>To unsubscribe, E-mail to: >>To switch to the DIGEST mode, E-mail to >> > >ICQ#: 6696344 >__________________________________ >iCONiKlaSTique Design KliniK, LLC >A Creative Solutions Company >1932 S. Halsted - Chicago, IL - 60614 >Phone:(312)492-7980 Fax: (312)492-7982 >www.IDK-A-OK.com >e-mail@IDK-A-OK.com > > >------------------------------------------------------------- >Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. >To end your Mail problems go to . > >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: Passing Variables.. yikes, I'm dumb (Tony Frenzel 2000)
  2. Re: Passing Variables.. yikes, I'm dumb (Kenneth Grome 2000)
  3. Re: Passing Variables.. yikes, I'm dumb (Tony Frenzel 2000)
  4. Re: Passing Variables.. yikes, I'm dumb (john Jakovich 2000)
  5. Re: Passing Variables.. yikes, I'm dumb (Kenneth Grome 2000)
  6. Re: Passing Variables.. yikes, I'm dumb (The Mooseman 2000)
  7. Passing Variables.. yikes, I'm dumb (Tony Frenzel 2000)
This should work:Here is your heck box:Here is where you tell it to pass your data:[showif [var-check]=T] Stuff you want to pass... [/showif] Mooseman>Ok, I'm still a newbie (I know, I know, throw your tomatoes) and I'm still >having problems with this. Is there a step by step way to help me >understand how to pass on hidden values like this with just a checkbox? I >need to pass on a whole address by someone just clicking a check box, but I >need it to work within the framework of the whole checkout.tpl, >invoice.tpl and thanks.tpl progression.... > > The WebCat/DNA documentation is just deplorable... > >HELP! > > > >- Mr. Moo > > > > >At 12:17 PM 1/12/2000 -0600, you wrote: >>I like to use a delimiter(|) just to be sure so I would do the following: >> >> >> >> >>Next page: >>[hideif [mysubinfo]=none] >>[listwords words=[mysubinfo]&delimiters=|][text][showif >>[index]=1]subtype[/showif][showif [index]=2]subamt[/showif][showif >>[index]=3]ExpDate[/showif]=[word][/text][/ListWords] >>[/hideif] >> >>This would set >>subtype to 3mo >>subamt to 15.00 >>expdate to 75032 >> >>or a little smaller but not with your exact variable names: >> >>[hideif [mysubinfo]=none] >>[listwords >>words=[mysubinfo]&delimiters=|][text]mysubinfo[index]=[word][/text][/ListWor >>ds] >>[/hideif] >> >>This would set >>Mysubinfo1 to 3mo >>Mysubinfo2 to 15.00 >>Mysubinfo3 to 75032 >> >>Robert Minor >>Director of Internet Services >>------------------------------------------------------------ >>Cybermill Communications >>http://www.cybermill.com http://www.merchantmaker.com >> >>Providing Ecommerce and interactive website development and >>hosting services on Macintosh, Windows NT, Unix, and AS/400. >> >> > From: Joseph D'Andrea >> > Reply-To: (WebCatalog Talk) >> > Date: Wed, 12 Jan 2000 13:02:33 >> > To: (WebCatalog Talk) >> > Subject: ListWords passing multi values in one form field >> > >> > I need to pass three pieces of data if a visitor checks a checkbox so I >> > thought I would use this: >> > >> > >> > >> > [NewExpDate] is calcutated earlier in the teplate like this: >> > >> > [math show=f]NewExpDate3={[format >> > days_to_date][TargetExpDate][/format]}+{3/0/0000}[/math] >> > >> > Questions is, how would I use ListWords to end up on the next page with >> this: >> > >> > SubType=3mo >> > SubAmt=15.00 >> > ExpDate=75032 >> > >> > Thanks, >> > ___Joe___ >> >> >>------------------------------------------------------------- >>Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. >>To end your Mail problems go to . >> >>This message is sent to you because you are subscribed to >> the mailing list . >>To unsubscribe, E-mail to: >>To switch to the DIGEST mode, E-mail to >> > >ICQ#: 6696344 >__________________________________ >iCONiKlaSTique Design KliniK, LLC >A Creative Solutions Company >1932 S. Halsted - Chicago, IL - 60614 >Phone:(312)492-7980 Fax: (312)492-7982 >www.IDK-A-OK.com >e-mail@IDK-A-OK.com > > >------------------------------------------------------------- >Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. >To end your Mail problems go to . > >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to The Mooseman

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Some ThankYou page problems (1997) WebCatalog2 Feature Feedback (1996) Who is doing sign-ups-got it (1998) Adding Message to Order (1997) carriage returns in data (1997) Sku numbers (1997) A quickie question (1997) New user...how do I create URLs from form fields? (2000) PIXO support (1997) before after on (1998) RE: URL too Long? (1997) my price won't move (1997) [input] [/input] (1997) Pithy questions on webcommerce & siteedit (1997) Document Contains No Data, Blank Pages with b4, b6 mac! (1999) Tax Rates returns only 0.00 (2000) controlling form elements (slightly OT) (2003) Help! WebCat2 bug (1997) Changes to [ReturnRaw] in 3.0 (1998) [WebDNA] SkipJack Authorize interface help (2009)