July 30, 2010, 09:26:17 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Dont forget to check the Facile Forms wiki !
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: multiple forms in same page through facileforms module  (Read 633 times)
raoul
Newbie

Offline Offline

Posts: 2


« on: September 14, 2006, 11:15:03 am »

I use facilforms v1.4.6g
I have a problem invoking several forms in the same page.
This is due to the ff_validate_submit script:

-----------------------------
function ff_validate_submit(element,action)
{error=ff_validation(0);if(error!=''){alert(error);ff_validationFocus();}else
ff_submitForm();}

function ff_submitForm()
{document.ff_form1.submit();}

function ff_submitForm()
{document.ff_form2.submit();}

...etc
------------------------------

As you can see, all the ff_submitForm() functions
have the same static name, so only one is used for
all forms in the page.

Is this problem known ?

Thanx,
Raoul
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by SMF © 2001-2006 Lewis Media
| Terms of Use | Privacy | Sitemap |