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!

Value of hidden field not send in email
Last Post 04-22-2011 03:46 PM by Chad Nash. 5 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
JanUser is Offline
new to the springs
new to the springs
Posts:2
Avatar

--
04-18-2011 04:51 AM
    Hi,

    I have hidden field with name totalCheckBox in my form. This hidden field is the sum of values of all checkboxes in my form.
    Then I used Form Completion Events(Dynamic Email) for sending value of parameter $(totalCheckBox) via email, but this parameter is always empty.

    thanks for reply
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    04-18-2011 06:26 AM
    Hello Jan,

    Is it possible that you're calculations are generating errors or is miscalculating??

    It sounds like you have JavaScript errors in your calculation code. Or perhaps you have a Post back on the page(Question Event) that clears the value in your hidden field. If you have good calculations but the Question Event's post back clears the value in this field then you will need to put the computation JavaScript into Module Configuration -> Custom JavaScript File -> Initial JavaScript.

    Please let me know if this helps.

    Thanks,

    Ryan
    JanUser is Offline
    new to the springs
    new to the springs
    Posts:2
    Avatar

    --
    04-18-2011 01:03 PM
    Hi Ryan,

    my calculations generating any errors, because I display value of this hidden field in text/html field in my form and calculations are correct.

    I have one Question Event(AJAX) for hide another question. I use computation Javascript in client side events in my checkboxes and in initial javascript(Module configuration), too.

    thanks, Jan
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    04-20-2011 08:17 AM
    Hello Jan,

    Can you try going to Module Configuration -> Custom JavaScript file and in the Submit JavaScript section put:

    alert($(HiddenFieldSHortName));

    Replace the token I placed in the alert to have your hidden fields short field name.

    So when you submit you should be able to see the value in the hidden field.

    Also what DNN version and Dynamic Forms version are you running on??

    Thanks,

    Ryan
    rheinUser is Offline
    new to the springs
    new to the springs
    Posts:1
    Avatar

    --
    04-22-2011 02:34 PM
    We are seeing almost the exact same behavior. We have a radio button with three options (website, phone and email) with the Default set to be website. When we click the "Hide from Anonymous users" the field is not shown to unauthenticated users, however, the default value is NOT logged in the form results.

    I would expect that if a field is not shown to a user, but has a default value set (or even a calculated value as the OP is doing) then it would be logged to the result set. The field is still on the form, it's just not being displayed to the user.

    My guess is when the check box for Hide is checked, the control is not rendered in any fashion at runtime, and then is ignored. This happens with .NET controls when you say Visible="false" the run time doesn't render them to the client to save time and overhead, and therefore you can't reference them. IE they are not posted back when a postback occurs.
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    04-22-2011 03:46 PM
    Hi guys,

    Yes this is correct and working (by design/at least how its supposed to work right now). Right now if a field is not visible, either by hiding it initially, hiding it by role, or hiding that field from a question event or anonymous users... the field value will never be saved.

    This applies to other situations too such as client side events and so forth... you can't reference the client side event $(Token) because the field isn't actually present. To get around this for client side events you need to simply put a try/catch within the JavaScript.

    I would check out this thread:
    http://www.datasprings.com/products.../aft/20999

    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