Forum OpenACS Q&A: Re: Form builder troubles

Collapse
10: Re: Form builder troubles (response to 1)
Posted by Jeff Lu on
Sean, You need to add descrip to ad_page_contract, set it as optional.
ad_page_contract {
                                                                                
    Add an a label for an ip range
                                                                                
    @author Sean Redmond (sean@jiffycomp.com)
    @creation-date 2004-04-23
    @cvs-id $Id: index.tcl,v 1.6 2002/12/17 16:43:06 nsadmin Exp $
} {
        label_id:integer,optional
        descrip:optional
}
Collapse
Posted by Sean Redmond on

Sean, You need to add descrip to ad_page_contract, set it as optional.

Jeff, This is true, but it doesn't fix the problem. If the edit_data block were ever executed, the missing variable would cause an error, but it never gets that far. When it should be updating the data, it always goes to the select_query_name instead.