TOPIC:

Contest - Enter Once a Day 3 years 2 months ago #203426

  • Topic Author
  • EquineInfoEx
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 10
  • Thanks: 0
www.equine-info.com/devsite/index.php/ho...s/533-sign-up-to-win

"Sign-up to Win" - People can submit the form once per day. Each submission gives them an additional chance to win a contest. They can use the same email for each entry, so far this is not a problem as duplicates are accepted in the records list.
How can I limit form submission to once a day?

After they submit the form they get the Thank You page. Then they browse around and when they try to go back to the "Sign-up to Win" page they are automatically sent to the Thank You page. They cannot fill out the form more than once per day.

FYI - I used an End Submit for a URL for the Thank You Page. Works great.
www.equine-info.com/devsite/index.php/ho...gn-up-to-win-success

Prior to using the End Submit, the Thankyou page seemed to be aware of a session of some kind, but I couldn't find any documentation about that.

$this->execPieceByName('ff_InitLib');
JFactory::getApplication()->redirect('index.php/home/press-releases/536-sign-up-to-win-success');

Thanks in advance for your help.

Please Log in or Create an account to join the conversation.

Contest - Enter Once a Day 3 years 2 months ago #203441

  • tomeperica's Avatar
  • tomeperica
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 6478
  • Karma: 170
  • Thanks: 667
Hello there,

you can limit submission per IP (user) but the part with reseting data in table after 24h I must check, usually that can be done with crone jobs on server, but i think there is something in SQL that can be triggered to truncate specific table.

I will research the solution and let you know, till then I am asking for patience and understanding.

Regards,
Tome
Regards,
Tome
==========================================
Need to renew Pro Support?
Buy Here!
==========================================
Satisfied?
Consider a membership!
==========================================
Like us on Facebook
==========================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!

Please Log in or Create an account to join the conversation.

Contest - Enter Once a Day 3 years 2 months ago #203443

  • Topic Author
  • EquineInfoEx
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 10
  • Thanks: 0
Thanks for your time.
Limit IP works great.
We need to create a new record for each form submission even if it's the same IP. But only if it's been over 24 hrs since the last submission.

I'm not a programmer. I look forward to your solution.
Kathy

Please Log in or Create an account to join the conversation.

Contest - Enter Once a Day 3 years 2 months ago #203504

  • tomeperica's Avatar
  • tomeperica
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 6478
  • Karma: 170
  • Thanks: 667
Will let you know when I have something.

Regards,
Tome
Regards,
Tome
==========================================
Need to renew Pro Support?
Buy Here!
==========================================
Satisfied?
Consider a membership!
==========================================
Like us on Facebook
==========================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!

Please Log in or Create an account to join the conversation.

Contest - Enter Once a Day 3 years 2 months ago #203530

  • Topic Author
  • EquineInfoEx
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 10
  • Thanks: 0
Alright.
My client gave me a different description.
Once a Day means once a Calendar day.
If you submit the form at 8pm Tues evening, after midnight you can submit another one on Wed. But not again until after Wed midnight then again on Thurs.
So it's not exactly 24 hrs....
yours, Kathy

Please Log in or Create an account to join the conversation.

Contest - Enter Once a Day 3 years 2 months ago #203531

  • tomeperica's Avatar
  • tomeperica
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 6478
  • Karma: 170
  • Thanks: 667
Hm I dont have solution yet, still in research phase ;)

Regards,
Tome
Regards,
Tome
==========================================
Need to renew Pro Support?
Buy Here!
==========================================
Satisfied?
Consider a membership!
==========================================
Like us on Facebook
==========================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!

Please Log in or Create an account to join the conversation.

Moderators: ForumSupport
Time to create page: 0.144 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!