2 Form Modules in one page with hidehtml('SaveForm')
Last Post 02-24-2009 07:28 AM by David To. 1 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
Shannon ScarvaciUser is Offline
skipping stones
skipping stones
Posts:10
Avatar

--
02-23-2009 04:22 PM

    Hi

     

    I use two Dynamic Form modules on one page, when first modules to call javascript to hide submit button (aka hidehtml('SaveForm') ) which hide BOTH submit buttons.  Is this a bug?

     

    Also is there any way to change text on submit button by javascript?

     

    Cheers,

    Shannon

    PS: DNN 5.0 and Dynamic Form 2.20.20

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    02-24-2009 07:28 AM

    HI Shannon
    Unfortunately, no. The Dynamic Forms (DF) module at the moment is hard-coded in HTML with the "SaveForm" submit name, hence, when you have two or more DF modules on the same page, a call to "SaveForm" submit button will trigger both buttons. In the future, we hope to implement the "SafeForm" to recognize by module ID so it knows which module to operate on. We usually don't get scenarios where there are two same modules on the same page.

    -- David



    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi