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!

Hide/Disable Submit Button
Last Post 10-11-2009 11:32 AM by David Loofbourrow. 12 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
RutUser is Offline
wading in the water
wading in the water
Posts:24
Avatar

--
04-09-2007 03:58 PM

    Is there a way to hide or disable the submit button until a field condition is met?

     

    We have the user make a choice of user type at the beginning of the registration form. All fields are hidden until the choice is made. Depending on the choice different fields are displayed. Because of the page loading time the tendacy is for users to make there user type choice and then hit submit. Then when the page loads all the validation errors are displayed at the top. We would like to hide or disable the submit button until after the user type choice is made.

     

    Thanks

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    04-10-2007 06:59 AM
    Thanks. Awesome idea and I can see how this can be very powerful. The user wouldn't even have to know they were filling out a submission initially, just answering a simple question etc... (not that you are hiding that its a form/registration but just gets them started easier with less confusion).

    A few comments....
    We will get this in the 2.5 release. The 2.5 release includes many performance enhancements including quicker form maintenance, AJAX, quickly sort fields without postback issues, etc... Related to question events specifically - Whenever you setup new question events in v2.5 you will be able to specify as many 'Affected Fields' for each event. This will allow you to only create one or two events instead of one for each field you want to show/hide which sounds like it will be very beneficial in your case. You can test this feature out now and see what I mean on www.betasprings.com with the latest beta of Dynamic Forms. Anyway, we will just end up adding 'Register', 'Update', and 'Cancel' as optional affected fields to the list. This will also work with 'Disable' as the ability to disable field is a new question event type in the upcoming release.

    -Chad
    RutUser is Offline
    wading in the water
    wading in the water
    Posts:24
    Avatar

    --
    04-10-2007 07:11 AM

    Any idea when 2.5 will be released. We are launching our new site very soon.

     

    Thanks

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    04-10-2007 09:29 AM
    We are really adding many improvements so don't want to set any exact date yet. We are aiming for early to mid May though and might be able to get you a beta a few weeks before that if its critical.

    -Chad
    Rutledge ScarboroughUser is Offline
    going with the flow
    going with the flow
    Posts:36
    Avatar

    --
    10-26-2008 09:36 AM
    I set things up to have the submit button hidden untill YES is typed into a text box. It works great except for one thing. If the page refreshes for some reason like a validation error, the submit button becomes hidden again. The user has to change the text box that contains the YES. I see this confusing users. Is there a way to keep the Submit button visable in this situation.

    Thanks for a great module.

    Rut
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    10-26-2008 05:26 PM
    Rut,

    Hi. What version are you running? There were features added to the 2.7 release which allows you to setup 'Initial Javascript (page load)' and 'Submission Javascript (submit)'. You can find these directly above the javascript file and you would put the same validation javascript to check for the yes/no here. You will find on our system a postback will still keep that setting in check.

    -Chad
    Rutledge ScarboroughUser is Offline
    going with the flow
    going with the flow
    Posts:36
    Avatar

    --
    10-26-2008 05:43 PM
    I am using 3.2. What do you mean right above the javascript file. I don't see what you are talking about.

    Thanks
    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    10-27-2008 07:56 AM

    Hi Rut,

    I believe he is referring to a setting under Module Configuration.  If you go to Custom Javascript File, you'll find 3 boxes:  Initial Javascript,  Submit/Save Javascript  and Javascript File.

    Hope this helps,
    Candace

    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    10-27-2008 08:02 AM

    Ooops!  That was for Dynamic Forms but it's very similar to Dynamic Registration: 

    Go to Module Configuration, select Module Layout / Javascript / Stylesheet,  go to Custom Javascript file and you'll find 2 boxes:  Initial Javascript and Update Javascript File. 

     

     

    Rutledge ScarboroughUser is Offline
    going with the flow
    going with the flow
    Posts:36
    Avatar

    --
    10-27-2008 09:01 AM
    When I go to "Module Layout / Stylesheet" and then to "Custom Javascript" all I see is one box with javascript. I am usining Dynamic Registration Ver 03.20.51

    Thanks
    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    10-27-2008 09:53 AM

    Oh, I see now.  Can you log into your Snowcovered account and download the latest build which is 3.2.63?  You should find it in either downloads or patches and hot fixes.

     

    Rutledge ScarboroughUser is Offline
    going with the flow
    going with the flow
    Posts:36
    Avatar

    --
    10-27-2008 10:49 AM
    Thanks, It looks like 3.2.63 should solve my problem.
    David LoofbourrowUser is Offline
    wading in the water
    wading in the water
    Posts:17
    Avatar

    --
    10-11-2009 11:32 AM

    I have the exact problem as mentioned here. The Hide submit works fine, the showHTML function works fine on the checkbox response, BUT - if the system validates an error, the submit button disappears.

    I am running 3.2.7 DynamicRegistration with this code:

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

    I have tried this code in just the ClientSide event and/or the Custom Javascript (in either the initial or the main); with the "hide submit button" checked and unchecked...

    What it SEEMS like is that it is firing the "initial javascript" every time it validates, instead of I would think only on initial load of form. Same thing on the "hide submit on start" checkbox - refires on postback...

     

     

    Caviat - this form was initially created with an import from a form created with a lower version.

    Thanks for your help.

    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