Hello,

I have a strange issue... I have 2 forms that get append to a page 
container as component with LOAD()...

If I use form alone, they worked properly (only loading single component). 
But if I append both forms (loading both at the same time), one of my forms 
don't work properly.

What happen is that the form that not work properly need to be submit twice 
in order  to recieve error message on empty form. Sometime the problem 
transfert from one form to the other like if it was the first or the last 
form that load (difficult to determine) which work properly. Is there a way 
to determine which components as finished to load first?

Also in order to insert a record, the form has to be submit twice because 
at first submit one of the field (even if filled up) is empty after form 
submission, and there is no error message displayed... I have to fill it up 
again and submit than the record get created.

Once I succeed in inserting a record, the form work properly for the other 
insertion, I mean I don't have to submit twice to get record inserted.

The other form don't get affected by the issue at all, meaning it is not 
affected by the other form dysfunctionning...

Both components forms are custom form. They have different formname : 

if form.process(formname='phone_number_form').accepted:

The _formkey appear to be different when I look to the page source...

Any pointer where this could coming from?

It would be a lot of code to analyse, that why I didn't pasted here...

Thanks

Richard

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to