NetTalk Central

Author Topic: Insert a Form inside a Form  (Read 2017 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1861
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Insert a Form inside a Form
« 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

-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11204
    • View Profile
Re: Insert a Form inside a Form
« Reply #1 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