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!

Default checkbox value
Last Post 01-13-2010 11:35 AM by RLC. 4 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
RLCUser is Offline
wading in the water
wading in the water
Posts:25
Avatar

--
01-12-2010 09:48 AM

    How do you change the default checkbox value from Yes to 1. We are working with Salesforce and they must have 1 for the intergration. I have tried other field types to get around this and it must be a checkbox with the value 1 to work....arg...

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

    --
    01-13-2010 08:01 AM
    How, how is this being integrated with Salesforce? Are the data (checkbox field) being saved to a custom SQL table and then Salesforce accesses that data? If so, you can use an SQL storec procedure to convert the "Yes" to "1" and then save to the custom SQL table. -- David
    RLCUser is Offline
    wading in the water
    wading in the water
    Posts:25
    Avatar

    --
    01-13-2010 08:35 AM

    I am just using the dynamic forms to do a HTTP post and send the data to sales force. That is the only way they except.. One thing off and it screws everything up. So the value for the checkbox must be 1 not yes. When I manually did this I set value="1" on the checkbox field. there does not seem to be a way to do this in this forms module so I am hoping I am just not seeing it

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

    --
    01-13-2010 09:35 AM
    Okay, then use client side event to pass another token instead.

    1) create a "Hidden Field" type with as an example, shortname of CheckValue
    2) in your regular checkbox field (let's say shortname of "checkbox", under Advance Field Options / Client Side event, type in:

    if ($(checkbox))
    {
    $(CheckValue) = '1'
    }
    else
    {
    $(CheckValue) = '0'
    };

    Also place this same javascript under Module Configuration / Initial Javascript.

    For your HTTP post, pass the token parameter=$(CheckValue).
    This should work out for you just fine. -- David

    RLCUser is Offline
    wading in the water
    wading in the water
    Posts:25
    Avatar

    --
    01-13-2010 11:35 AM

    that worked!!!! Thank you!

    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