How to validate textarea?



If I try to use a RequiredFieldValidator control to make sure a
textarea isn't empty, I get an error similar to

Unable to find control id 'comment' referenced by the
'ControlToValidate' property of 'rvfComment'.

I'm guessing this control does not validate a textarea. What else can
I do for this besides checking its length on postback?

Thanks,
Brett

.



Relevant Pages

  • Re: Favorite form controls for multivalues
    ... This is a reasonable model for backing a textarea ... control, but needs to be parsed again for a table. ... the time for maintaining multivalues in a browser UI, ... Right now, each time we want to maintain a multivalued field, transfer ...
    (comp.databases.pick)
  • Re: Control.Remove() increases CPU usage and hangs application
    ... RobinS wrote: ... from the user control. ... Once i try to focus another control in the app, ... textArea_ = new TextBox; ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Favorite form controls for multivalues
    ... of the data backing whatever control is selected (examples show a ... textarea) must be hand-coded, so I want to abstract that behavior. ... But, of course, there are different data structures backing different ... quality control, ...
    (comp.databases.pick)
  • invoking onclick when pressing the Enter key, in a textarea
    ... I started researching this and came upon this post by Michael Winter, ... If some other control has focus, ... you'll have to handle the onkeydown event on ... If I just want the one textarea to trigger an event when the ...
    (comp.lang.javascript)
  • Re: Favorite form controls for multivalues
    ... -delimited string returned when reading a multivalued field ... This is a reasonable model for backing a textarea ... control, but needs to be parsed again for a table. ... DesignBais applications on our Nebula R&D website. ...
    (comp.databases.pick)