Consider an HTML form created with the following text box. Choose the conditional statement that can be used on the action page to determine if the form field was submitted without content.
A. <cfif form.comment IS NULL>
B. <cfif IsEmpty(form.comment)>
C. <cfif NOT Len(Trim(form.comment))>
D. <cfif NOT IsDefined(form.comment)>
Ans: C
B. <cfif IsEmpty(form.comment)>
C. <cfif NOT Len(Trim(form.comment))>
D. <cfif NOT IsDefined(form.comment)>
Ans: C
Post a Comment