View Full Version : Form.submit on all tabs

29 Jun 2010, 6:45 AM

I've got a FormPanel using multiple tabs. It uses a JSON reader to fill in the data, which works just fine. However, when submitting the form, ext-js only submits the values of the tabs the user has viewed.

For example:


If the user submits before he viewed tab2, extjs only sends [name] and [age]. When the user does view tab2 and then submits, ext-js sends [name],[age],[street] and [city].

This method is not desired, since it would require conditional queries to write the data to the DB.

How do I solve this? I want to store all fields upon submit, not just the ones the users has viewed.

P.S. I'm sorry if this question has already been asked here before, I did try the search, but I have honestly no idea what to search for...

29 Jun 2010, 7:35 AM
Solved it, by setting

deferredRender: false

In the tabpanel proporties.