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!

Control duplicate submissions
Last Post 10-30-2011 07:10 PM by Chad Nash. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
RokhiUser is Offline
skipping stones
skipping stones
Posts:9
Avatar

--
10-23-2011 12:36 AM

    I want to be able to control how duplicate form submission is controlled.

    How is a second submission sensed at the moment - is it settable.  I tried rdeleting the response records for the applicant, but the form still rejected a second submission.

    In the end, I want to prevent multiple submissions of the form for this year, but next year, people will re-apply - once - with a different year value.

    any suggestions?

    Don GeeUser is Offline
    river guide
    river guide
    Posts:273
    Avatar

    --
    10-25-2011 11:16 AM
    Hi Rokhi,
    How about this! Try putting a hidden field in your form. Have it hold current date. Then have that field stored in a table so that it gets it's value from the table. It may be that the table is there just for that hidden field and only has one record. Then there is the token for that field going into a table, ie. through completion event that does the insert when form is sumitted. You will also use sql in the advanced field options for hidden field to fill the hidden field with the date value from the table. This will be done upon opening the form. You will now also need some custom javascript in the form to check if the date value in the hidden field is equal to this year. That means form has already been submitted this year. If it is then disable the submit button and a message that says something like: 'form not available for submission until next year' is displayed. If you do your sql right then when the year value in the table is less than current date year value the javascript won't hide the submit button or display the message and someone can submit the form.

    You can use firebug to inspect the form element for the submit button and will get something like this:

    [L]Submit

    If the above was the submit button ID then you will want to look how to disable that form element id with with a phrase of disabled="true" within the element tag which should work ( if syntax is right) because form load event has already instantiated the submit button with code as displayed. You will just be stepping on that code with an updated version.

    Thanks and good luck!
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    10-30-2011 07:10 PM
    Hi... Yes another option would be going the direction that Don submited with a hidden field for the date/time but then after that you could use "SQL Validation" to compare the last time from that IP Address with a saved value from the database and then based on that time difference return a true or false value back to the user with an error message. You might look more into the SQL Validation feature of our modules to find out more.

    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