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!

populate multiple hidden fields from a single radio selection
Last Post 08-16-2011 01:08 PM by Chad Nash. 3 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
sentientUser is Offline
river guide
river guide
Posts:127
Avatar

--
08-15-2011 01:24 PM
    Im using the funcRadioCalc function to push a value from a SQL driven radio list to a hidden field. This works fine with a single value. However I would like to populate multiple hidden fields.

    Can the JS function be adapted to do this:

    Radio set (region):
    select [Text] as QuestionOption, [Franchise] as QuestionOptionValue 
    from [Franchises]

    /* other values needed from this table as well as [Franchise] - so multiple values in further columns */

    Client event on radio box:
    $(francode) = funcRadioCalc($(region_FieldID));
    $(franird) = funcRadioCalc2($(region_FieldID)); /*the next value*/
    $(franird) = funcRadioCalc3($(region_FieldID)); /*the next value*/

    Not sure how to do this short of having a separate form.

    Thanks

    sentientUser is Offline
    river guide
    river guide
    Posts:127
    Avatar

    --
    08-16-2011 06:11 AM
    Please, is there any help on this?
    I basically want to be able to populate multiple fields from a database query dependant on the selection of a radio group:
    select [Text] as QuestionOption, [Franchise] as QuestionOptionValue1, [ird] as QuestionOptionValue2,[franacc] as QuestionOptionValue3
    from [Franchises]
    Don GeeUser is Offline
    river guide
    river guide
    Posts:273
    Avatar

    --
    08-16-2011 11:08 AM
    Hi Sentient,
    Anything in the area of SQL or Javascript is normally a premium support issue which you can find out about at this link: http://www.datasprings.com/support/...rt-options

    However, we can still try to help you. The best way to do this is for you to set up your example on www.betasprings.com (login host/dnnhost). To do this just use the login and go into the Dynamic Forms section and set up your sample. Then let us know and we will take a look at it and try and help.
    Thanks
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    08-16-2011 01:08 PM
    Yes - We have had to do this with some Premium Support and implementations before and I believe the direction we went was to use a JavaScript split function. So we would bring the values back from the SQL such as "red,blue,green" into the value option, then we would split the values based on a JavaScript function to get the set of values or utilize them however we needed them.

    Thanks!

    Thanks,

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