Re: Custom Tags or Modular Code

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 36981
interpreted = N
texte = on 6/7/01 9:07 AM, Brian Boegershausen at brian@orderbywire.com wrote:> Write your code to take an email check it, and return T if it is okay, and F > if it is bad. > Make it an include file and put it in the webcat root. > Then you can use it on anysite on the server > [showif [include file=^emailchecker.inc]=T]The email is good[/showif] > > Brian Boegershausen > ----- Original Message ----- > From: Andrew Simpson > To: WebCatalog Talk > Sent: Thursday, July 05, 2001 4:59 PM > Subject: Custom Tags or Modular Code > > >> Is there any way you can define custom tags in webDNA. >> >> For Example I have written a small validation routine to check email >> addresses so that they are valid before using the [sendmail] tag. >> >> Is it possible to encapsulate this in a custom tag or preferably define a >> function containing this routine that could be called/ passed the string > and >> return some boolean value indicating validity. >> >> >> ------------------------------------------------------------- >> 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 > >> Web Archive of this list is at: http://search.smithmicro.com/ > > > ------------------------------------------------------------- > 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 > > Web Archive of this list is at: http://search.smithmicro.com/So all I would have to do is ensure that the variable passed to the template, containing the email addresses to check, are always the same???Yes? ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Custom Tags or Modular Code (Peter Werno 2001)
  2. Re: Custom Tags or Modular Code (Andrew Simpson 2001)
  3. Re: Custom Tags or Modular Code (Brian Boegershausen 2001)
  4. Custom Tags or Modular Code (Andrew Simpson 2001)
  5. Re: Custom Tags or Modular Code (Dale Therio 2001)
on 6/7/01 9:07 AM, Brian Boegershausen at brian@orderbywire.com wrote:> Write your code to take an email check it, and return T if it is okay, and F > if it is bad. > Make it an include file and put it in the webcat root. > Then you can use it on anysite on the server > [showif [include file=^emailchecker.inc]=T]The email is good[/showif] > > Brian Boegershausen > ----- Original Message ----- > From: Andrew Simpson > To: WebCatalog Talk > Sent: Thursday, July 05, 2001 4:59 PM > Subject: Custom Tags or Modular Code > > >> Is there any way you can define custom tags in webDNA. >> >> For Example I have written a small validation routine to check email >> addresses so that they are valid before using the [sendmail] tag. >> >> Is it possible to encapsulate this in a custom tag or preferably define a >> function containing this routine that could be called/ passed the string > and >> return some boolean value indicating validity. >> >> >> ------------------------------------------------------------- >> 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 > >> Web Archive of this list is at: http://search.smithmicro.com/ > > > ------------------------------------------------------------- > 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 > > Web Archive of this list is at: http://search.smithmicro.com/So all I would have to do is ensure that the variable passed to the template, containing the email addresses to check, are always the same???Yes? ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Andrew Simpson

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:

emailer w/F2 (1997) Checking for @ sign (2006) anyone using Webcat 4.x in production? (2000) [WebDNA] DB help (2011) Smith Micro - no competition (2000) [CART] (1997) Windows XP and cookies (2004) upgrading (1997) [isfile] ? (1997) What am I missing (1997) WebCatalog2 Feature Feedback (1996) PCS Frames (1997) Bug Report, maybe (1997) RE: shrink-wrapped version out yet? (1997) HTTP "host" header (2003) Re:2nd WebCatalog2 Feature Request (1996) Fwd: Problems with Webcatalog Plug-in (1997) RE: [taxRate] [TaxTotal] ? (1997) WebDNA Solutions ... (1997) Webcat no longer supported? (2006)