Forum OpenACS Q&A: Response to Validating form elements with the form builder

Collapse
Posted by Jeff Davis on
Don, thats great.  I confess that I did not look closely enough at the
ad_form code to see that it did this.  One thing I wanted to do (and which would fix more things than it broke) was to make -required text fields say ![string is space $value] rather then ![empty_string_p $value]
since I think if a text field is required all blanks should not
count as provided.  You see this all over for things like folder names and group names and what happens when a space is entered is the links
to edit the things don't show up either (since of course they say things
like <a href="edit?id=@id@">@folder_name@</a>) and unless you show source and enter the url by hand you can't get to the edit page to fix it.