Many thanx to you both.

I will think over the way handling a form. HTML 5 seems to have very 
interesting ways handling a form.

And I confess, I have to buy a HTML5-Book and read it :-)...

Frank


Am Dienstag, 18. Dezember 2012 13:16:11 UTC+1 schrieb Alan Williamson:
>
>  Morning.
>
> First of all Frank, i would personally stay well clear of <cfform> and all 
> its children.  There are so many better ways of handling forms these days 
> that the server side should never have gotten into that game in the first 
> place.
>
> Secondly, with a checkbox, if it is not selected then it does not make it 
> to the server - ever.  A small quirk of HTML and the constant annoyance of 
> many a web developer.   you need to default it on the server side:  
>
> <cfparam name="form.offen" default="">
>
>
> On 18/12/2012 06:28, Frank Werner wrote:
>  
> The content of "Selected_Record.Offen is either "yes" or "no" (without the 
> quotemarks, a mysql TINYTEXT). If it is "yes" the checkbox 
> appears checked. If it is "no" OpenBD fires a bug ("form.offen doesn't 
> exist.") at the evaluation later on:
>
>            <cfif form.offen   eq "on">
>             <cfset variables.offen = "yes"> 
>           <cfelse> 
>             <cfset variables.offen = "no"> 
>           </cfif>
>  
>  Does anybody have a hint? I am searching and searching..
>
>  
>  

-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

Reply via email to