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!

Concatenating fields
Last Post 11-15-2010 12:17 PM by Ryan Bakerink. 3 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
THSUser is Offline
going with the flow
going with the flow
Posts:48
Avatar

--
11-08-2010 11:19 PM
    For search reasons, I want to concatenate two sets of fields into singular hidden fields. For example, the submitter would select up to three states from three separate drop-downs (we don't want to use a multi-select list box) in the form but I want the values of those three drop-downs to be contatenated together into a hidden field so they'd be stored like this: Arizona, California, Oregon. The second set of fields would be long text fields where they'll enter city names that will all be concatenated into another hidden field. I've done quite a bit of calc fields adding up numbers and such, but not sure how to "add" non-numerical values together from a listbox/text field. What's the Jscript for doing that?

    -Tim
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    11-09-2010 05:07 AM
    Hi Tim - This should be pretty easy actually... Within each of the combo box's I think you would have something like this client side event.

    Assuming your hidden field had a short name called MyValues

    $(MyValues) = $(ComboBox1) + ',' + $(ComboBox2) + ',' + $(ComboBox3)


    In general if these are not integer values it will try and concatenate them instead of actually adding them as numeric values.


    Thanks!

    -Chad
    THSUser is Offline
    going with the flow
    going with the flow
    Posts:48
    Avatar

    --
    11-09-2010 10:07 AM
    OK, that worked great. Thanks!
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    11-15-2010 12:17 PM
    Hello THS,

    Glad to hear everything's working great for you.

    If you have any questions please let us know.

    Thanks,

    Ryan
    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