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!

Hidden submit button until checkbox field is checked
Last Post 03-11-2011 10:42 AM by Ryan Bakerink. 5 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Linda RhotenUser is Offline
new to the springs
new to the springs
Posts:2
Avatar

--
02-18-2010 09:25 AM

    I am using DF V3 and designing my first form.  I have the Submit button initially hidden until the user clicks the checkbox to agree to the terms of the form.  This works very well if all the required fields are populated and the email address is typed in correctly. The problem is if there are validation errors and the user has to go back and correct/populate fields.  The submit button disappears and the checkbox is still checked.  Is there a way to uncheck the checkbox if there are validation errors?  Thanks, Linda

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

    --
    02-18-2010 09:52 AM
    HI, under module configuration, do not check "initially hide submit button". Instead, use client side javascript for this purpose. You would place the following under:
    1) module configuration / initial javascript (for page load)
    2) under Advance field option / client side event for the checkbox

    if ($(checkboxshortname))
    {
    showhtml('SaveForm')
    }
    else
    {
    hidehtml('SaveForm')
    }

    Check out this form tutorial:
    http://www.datasprings.com/Products...fault.aspx
    -- David
    ChuckUser is Offline
    river guide
    river guide
    Posts:157
    Avatar

    --
    03-17-2010 05:58 AM
    Posted By David To on 02/18/2010 11:52 AM
    HI, under module configuration, do not check "initially hide submit button". Instead, use client side javascript for this purpose. You would place the following under:
    1) module configuration / initial javascript (for page load)
    2) under Advance field option / client side event for the checkbox

    if ($(checkboxshortname))
    {
    showhtml('SaveForm')
    }
    else
    {
    hidehtml('SaveForm')
    }

    Check out this form tutorial:
    http://www.datasprings.com/Products...fault.aspx
    -- David


    Hi David,
    I have used this option before but what I would really like to happen is that the hidehtml('SaveForm') to disappear and the checkbox for the "Agree To Terms" to be set back to the "Uncheck" state.  I have another client side javascript that is tied to the checkbox besides the script you provide, so it would be nice to force the user to "check" the box again.

    Thanks.

    Chuck

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

    --
    03-17-2010 07:26 AM
    Hi, I still don't quite get the picture. If you click on the checkbox, it should show the "Save". If you uncheck the checkbox, it should hide the "Save". What other options / javascript on the form do you have that triggers the hiding of the "Save" while leaving the checkbox still in check mode? -- David
    BWinnUser is Offline
    skipping stones
    skipping stones
    Posts:6
    Avatar

    --
    03-11-2011 10:22 AM
    Thanks Chuck, your response fixed the problem I had which was the same as the OP
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    03-11-2011 10:42 AM
    Hello BWinn,

    If you ever 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