Forum OpenACS Q&A: Re: Form builder troubles

Collapse
7: Re: Form builder troubles (response to 1)
Posted by Tak-Hung Yu on
I think you have to call ad_form_new_p instead of exists_and_not_null.

if {![ad_form_new_p -key label_id]} {
    set page_title "Edit Label"
} else {
    ....
}

Jon has a rather extensive document on how to use ad_form at http://jongriffin.com/static/openacs/ad_form/using-ad-form.

Collapse
8: Re: Form builder troubles (response to 7)
Posted by Sean Redmond on

I made this change, but it didn't have any effect.

I've looked at Jon's documentation and I still can't see where I'm going wrong.