Class SubmitService
- Namespace
- Dynamicweb.Forms
- Assembly
- Dynamicweb.Forms.dll
- Inheritance
-
Submit
Service
- Inherited Members
Methods
AddSubmitData(int, SubmitData)
Add submission data.
Parameters
submitId
intThe ID of the submission.
submitData
SubmitData The submission data to add.
ConvertToCsv(int, bool)
Converts the submissions for a given form to a CSV string.
Parameters
Returns
ConvertToCsv(int, bool, int)
Converts the submissions for a given form and page to a CSV string.
Parameters
formId
intThe ID of the form.
exportHeaders
boolDetermines if headers should be exported, or not.
pageId
intThe ID of the page.
Returns
Delete(int)
Deletes the submission by ID.
Parameters
submitId
intThe ID of the submission to delete.
DeleteByFormId(int)
Deletes all submissions that belongs to the given form ID.
Parameters
formId
intThe ID of the form.
GetAll()
Get all submits.
Returns
GetById(int)
Get submit by id.
Parameters
submitId
intThe ID of the submission.
Returns
GetLastSubmitDate(Form)
Gets the most recent date the given form was submitted.
Parameters
form
FormThe form.
Returns
GetLastSubmitDate(int)
Gets the most recent date the given form was submitted.
Parameters
formId
intThe ID of the form.
Returns
GetSubmitCount(Form)
Gets the submit count for a given form.
Parameters
form
FormThe form.
Returns
GetSubmitCount(Form, int)
Gets the submit count for a given form and page.
Parameters
Returns
GetSubmitCount(int)
Gets the submit count for a given form.
Parameters
formId
intThe ID of the form.
Returns
GetSubmitCount(int, int)
Gets the submit count for a given form and page.
Parameters
Returns
GetSubmits(int)
Get all submits for a form.
Parameters
formId
intThe ID of the form.
Returns
GetSubmitsByPage(int, int)
Get all submits for a given form and page.
Parameters
Returns
GetSubmitsByPageAndUser(int, int, int)
Get all submits for a given form, page and user.
Parameters
Returns
GetSubmitsByUser(int, int)
Get all submits for a given form and user.
Parameters
Returns
GetValueString(Submit)
Gets a combined value string for a submit. Each value is delimited by a semicolon.
Parameters
submit
SubmitThe submission.
Returns
GetValueStrings(IEnumerable<int>)
Gets a combined value string for a collection of submit IDs. Each value is delimited by a semicolon.
Parameters
submitIds
IEnumerable<int>The submission IDs.
Returns
Save(Submit)
Saves the submission.
Parameters
submit
SubmitThe submission to save.