Re: Custom Tags or Modular Code

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 36971
interpreted = N
texte = Probably the closest you can come to that is to write it as a self-contained include file, then you can use a [showif ..][/showif] test.On Fri, 06 Jul 2001 08:59:07 Andrew Simpson wrote: > 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/ 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)
Probably the closest you can come to that is to write it as a self-contained include file, then you can use a [showif ..][/showif] test.On Fri, 06 Jul 2001 08:59:07 Andrew Simpson wrote: > 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/ Dale Therio

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:

Error .. (2003) (1997) Newbie problem blah blah blah (1997) Re:Remote stockroom ? (1998) Test (2000) Dates (1996) grouped fields? (1999) WebCat2b13 Command Reference Doc error (1997) Sendmail Excel attachment (2003) Credit Card not accepted (1998) Webcatalog and IIS4b2 (1997) Re:no [search] with NT (1997) Preferences Don't Stick Though ReBoot?? (2000) your mail (2000) Multiple fields on 1 input (1997) WC2b15 File Corruption (1997) Bug alert! (1997) Date search - yes or no (1997) Problem (1997) Re:E-Mailer (WebCatb15acgiMac) (1997)