Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add validation proccess for forms #14

Closed
neeftarah opened this issue Sep 10, 2014 · 1 comment
Closed

Add validation proccess for forms #14

neeftarah opened this issue Sep 10, 2014 · 1 comment
Labels
Milestone

Comments

@neeftarah
Copy link
Contributor

Add a validation process (optional) to forms before creating tickets or sending to other destinations.

Form configuration:

- Add a field "The form need to be validated (Yes/No)"
- If the previous field is set to "Yes": Add 2 multiselect fields with validators (users with ticket validation abilities) to set witch users can be chosen by end-user to be the validator. (All validators by default).

Form entry (if the form need to be validated)

- Automatically add a field at the end of the form: "Choose a validator". A select field with allowed validator.
- The form is saved into database with a state "waiting for validation"
- A notification e-mail must be send to the chosen validator
- The validator can accept or refuse the form. If refused, a refused comment is required.
    - If accepted: The form is processed like now (ticket(s) creation)
    - If refused: the form get a status of "refused by validator" and can be edited by requester and resubmitted. A notification is sent to the requester when refused.

List of seized forms

- 2 blocs should be added to the form list:
    - "My forms (requester)" => (last 10 forms user submitted. status refused and waiting in priority)
    - "My forms (validator)" => (last 10 forms waiting for validation and with user as validator)
- A list page (with search engine) with:
    - all forms if user is validator or administrator
    - all forms submitted by user otherwise
    - A link button near "search" and "config" buttons in toolbar
@neeftarah neeftarah self-assigned this Sep 10, 2014
@neeftarah neeftarah added this to the 0.84-2.1 milestone Sep 10, 2014
@neeftarah
Copy link
Contributor Author

Done

@neeftarah neeftarah assigned neeftarah and unassigned neeftarah Jan 23, 2015
@neeftarah neeftarah removed their assignment Sep 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant