On Dec 24, 2:21 am, Johann Spies <johann.sp...@gmail.com> wrote:
>
> I have it working now and it seems that the main thing I have changed to
> make it work was to change the name of the field (from 'id' to something
> else).  I did not check afterwards in the documentation but I suspect that
> SQLFORM.factory uses an 'id' field (hidden).
>
Makes sense since the handling of 'id' is special but only a trace
will tell us why.
There is no hidden 'id' field in SQLFORM.factory
>
> What I could not understand was that when I the normal crud form in the html
> there were two identical fields('id') although I had only one in my
> definition.  Changing the name of the field corrected that and the
> redirection took place as expected.
>
What crud?.
>
> Regards
> Johann

Reply via email to