NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on March 28, 2009, 04:31:45 AM

Title: Insert a Form inside a Form
Post by: Alberto on March 28, 2009, 04:31:45 AM
Hi,
Any way to insert a Form inside another Form?
May be in a tab.
No problem to add code to save the form changes.

I have a main table wich has common fields to, lets say, a medical record form, but depending on the patient disease, I need to edit another form of another table but... in the same page.
Now I´m doing it editing the diseae form and adding the common fileds as local variables and saving the changes manually but the problem is... if I need to make a change in the medical record table/form I need to do it in every disease form!

Any way to do it?
Thanks
Alberto

Title: Re: Insert a Form inside a Form
Post by: Bruce on March 30, 2009, 12:54:00 AM
Hi Alberto,

sorry, but no, there's no way to embed a form in a form.
Firstly HTML doesn't allow for it, and secondly, the program flow would be _very_ difficult to manage on the server side.

On approach, rather than having multiple forms, is to have one large form, but hide fields that do not apply.

Cheers
Bruce