Hi,

nested form should work fine. I mean something like this:

_________________________
| <main form>
| Name:..
| Lastname:...
|
| ________________________
| | <item (inner) form>
| | item number:...
| | item number:...
| | <Add item button>
| |______________________
|
| <save button>
|_______________________

Do you have this forms layout? 'Add item button' must be added to 'item form' and only to this form.
Hi, I'm creating a page with a form.
The form asks for personal information and also for information to add some
items.

For example

General information
Name: _______
Lastname: _______

Item information
Item number: _______
Item description: ______

Add item (button)

Item number | Description
1                 |  something
2                 |  a thing

Save (button)

I tryed with nested forms but when I click on "Add item" validations on
Name and LastName stop the submit. I thought on an ajax solution but i
don't know how to do it.

I mean, I need validations of general information and validations of item
information. Could you give an idea of how to do something like this?
I think it could be a standard problem.

Thanks in advance.

Tito



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to