On Friday, July 15, 2011 1:15:55 PM UTC-4, Jim S wrote:
>
> Watching firebug I don't see anything happen. No validation runs because
> even if I have an error on my form, it goes away. When I setup my form
> using CRUD, I set the 'next' parameter to the same Edit Price Backer form
> that is displayed before the modal is show. However, I don't think it is
> even getting called. It would appear as though the Edit Price Backer page
> is redisplayed, but I don't know what is triggering it. You're probably
> right in assuming that the form on the initial page is being submitted.
> But, if I put a value in the form (edit price backer) and click submit on
> the modal (edit price backer item) form, neither of the forms save their
> values.
>
> Is there a way with CRUD to specify your form name? I couldn't find it.
>
After the form is created (e.g., form=crud() or form=crud.create(...)), the
name should be stored in form.formname, and you can change that to something
else if you'd like.
Anthony