Max limit for Xform submissions

Vote:
 

Is there a way to set a max limit on how many times an Xform can be submitted? For example if the form is used to register people for a course and when the max number of applicants have been reached, the form is blocked. A client says he's read in the manual that there is something built in to do this, but I can't find any information on it. Am I blind, or did he smoke something special?

#80769
Jan 31, 2014 13:19
Vote:
 

Hey, AFAIK, there is no similar setting. 

Probably the client thought of the "Same person can send the form several times" checkbox on the form, but this doesn't solve your problem.

What you need to do is:

- if you are using WebForms - hook to BeforeSubmitPostedData and get the count of all posts for the current XForm GUID, or

- if you are using MVC - check your stuff in public ActionResult XFormPost

I don't think there is a built-in functionality for this.

 

#80782
Edited, Jan 31, 2014 22:01
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.