By standalone I mean that when you submit a form, you don't submit all the others/the main form.
I decided to make this when I read a question in Jake's latest article, How to Embed a Login Form on All Lotus Domino Pages.
The question is not directly connected to this blogpost, but somewhat.
We are getting two HTML form tag in view source of page in browser, one form tag for main form and other which is login form.
My question is, How will I handle when we are submiiting the Login form ? Will it submit the main form as well ?
Could you please help me
Ajay B Mali
The demoapp loads another form using an iframe. Using DHTML I pick the form out of the iframe and inject it at the top or bottom of the form that is open. The reason for either top or bottom is that forms can't be nested (read Jake's excellent article for more info). If you want it in a specific position on the page, CSS may help you.
The reason for iframe and not XHR (Ajax), is that XHR returns text. With the iframe, I can more or less pick what I want out of the "iframed" document, the way I would on the "main" document.
>> The demoapp (Names-form)
Tested in Opera 9, IE7 (Vista) and Firefox 2