Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

How to update hidden field?
Last Post 02-19-2010 01:24 PM by David To. 6 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Michael ManUser is Offline
river guide
river guide
Posts:152
Avatar

--
02-19-2010 02:50 AM

    I have to input fields

    Input text A: TextA

    Input text B: TextB  (Hidden)

    when I type something in TextA or change something in TextA, that change will also change in TextB hidden field.

    Is it possible to do?

    t-boneUser is Offline
    river guide
    river guide
    Posts:77
    Avatar

    --
    02-19-2010 05:59 AM
    In the Input text A client side event add code similar to this:

    $(textB) = $(textA)

    Substitute "textB" with the actual short field name you gave to the "text input b" field... and same with "textA"... it'll error out if you don't put in the correct short field names.
    Michael ManUser is Offline
    river guide
    river guide
    Posts:152
    Avatar

    --
    02-19-2010 06:39 AM

    I did exactly what you have there, but still not working. So I don't know if I am doing something wrong

    This is what I put in Client side event in my not hidden field

    $(StartDateHidden) = $(StartDate)

    My hidden field by default has a value 2/18/2010. So when I change a date in my StartDate input field. The default date in my hidden field does not change.

    What is wrong there?

    t-boneUser is Offline
    river guide
    river guide
    Posts:77
    Avatar

    --
    02-19-2010 07:20 AM
    Sorry.. you're right.. it's not as straight forward as I thought. Date fields don't seem to act like regular text boxes.. I scoured the forum to see how you'd pull the date value for a date field and I can't seem to find it.. for client side events.


    Wonder if you could set up a question event to set it equal to the startdate? It'd be clunky with the postback..


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

    --
    02-19-2010 07:21 AM
    HI, is StartDateHidden a read-only field? Also, perhaps remove the DEFAULT value and instead use the following:

    if ($(StartDate) == '')
    {
    $(StartDateHidden) = '2/18/2010'
    }
    else
    {
    $(StartDateHidden) = $(StartDate)
    }

    Place this in two areas:
    1) under Module Configuration / Initial Javascript (for page load)
    2) under the client side event of StartDate

    -- David
    Michael ManUser is Offline
    river guide
    river guide
    Posts:152
    Avatar

    --
    02-19-2010 01:17 PM
    Posted By David To on 02/19/2010 9:21 AM
    HI, is StartDateHidden a read-only field? Also, perhaps remove the DEFAULT value and instead use the following:

    if ($(StartDate) == '')
    {
    $(StartDateHidden) = '2/18/2010'
    }
    else
    {
    $(StartDateHidden) = $(StartDate)
    }

    Place this in two areas:
    1) under Module Configuration / Initial Javascript (for page load)
    2) under the client side event of StartDate

    -- David



     

    How to get the date of this part to display current date dynamically? 2/18/2010 to be displayed current date

    $(StartDateHidden) = '2/18/2010'

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

    --
    02-19-2010 01:24 PM
    HI, you would need to do this with javascript. Please check out this URL:
    http://www.tizag.com/javascriptT/ja...ptdate.php

    -- David
    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • 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