[Zope] FW: [Zope] Newbie DTML: Checking a variable

Bill Anderson bill@libc.org
Tue, 25 Apr 2000 16:42:04 -0600


Chris Withers wrote:
> 
>        <td width=""><input name="ssn_call"
>                  ^^
>                  that's not good HTML ;-)
> 
> Try this for your input:
> 
> <input name="ssn_call" width=30
> value="<dtml-if "REQUEST['ssn_call']"><dtml-var SSN></dtml-if>">


Why not replace the if with this?
<dtml-var ssn_call missing=''>

-- 
In flying I have learned that carelessness and overconfidence are 
usually far more dangerous than deliberately accepted risks. 
          -- Wilbur Wright in a letter to his father, September 1900