Dynamic question is not function
Last Post 07-22-2008 08:25 AM by kimhun srisod. 2 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
kimhun srisodUser is Offline
new to the springs
new to the springs
Posts:2
Avatar

--
07-22-2008 05:48 AM

    I have problem about of dynamic question item. when I debug from querystring the result is below

    ***DYNAMIC FORMS DEBUG MODE ON***
    Client Side Event:document.getElementById('dnn_ctr823_DynamicForms_TBR_GUIDe8cbef86-d7e5-433e-8dc1-0077b9c26e48DisplayName').value = $(FirstName) + $(LastName) ;



    Initial Javascript:

    and have error on IE which show about  "FirstName is undefined"

     

    I try this one also on betaspring web site which resulting is working so I try to debug on this web site then the result show below

     

    ***DYNAMIC Forms DEBUG MODE ON***
    Client Side Event:document.getElementById('dnn_ctr1117_DynamicForms_TBR_GUID67d8702b-cd01-4da8-b5b4-f56eaf72aeceDisplay').value=document.getElementById('dnn_ctr1117_DynamicForms_TBR_GUID5b04f887-7e1c-4b9d-b989-697fa9a87d61FirstName').value + document.getElementById('dnn_ctr1117_DynamicForms_TBR_GUID441f6cb9-e5e3-48e6-9c57-e0f1da751392LastName').value ;

     

    I saw the different is on demo server it have document.getElementById for all item but in my web site it's only have for the first one item.

     

     

    Please advise, What is the main problem!!!!!!

     

    Regards,

     

    Kimhun

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    07-22-2008 07:29 AM
    Kimhun,

    Hi. We recently discovered that in Dynamic Forms it was processing the ID for fields ONLY if they had a client side event for them. So in your case, display name probably has a client side event but FirstName and LastName do not. We have since coded a patch for this and are testing it (and a number of small features/bugs) on beta springs before we release it to everyone. In the mean time, you can insert ANY text into the client side event for FirstName and LastName and then it will render the ID properly. For example, within the client side event you could even insert the same exact event you have there. In fact, you would probably want to so that if a user changed their last name or first name it would update their display name appropriately.

    -Chad
    kimhun srisodUser is Offline
    new to the springs
    new to the springs
    Posts:2
    Avatar

    --
    07-22-2008 08:25 AM

    Hi Chad,

     Big thanks for your advise, now is working. I would like need to know where I can find the bug fix.

     

    Regards,

    Kimhun



    ---
  • 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