uvdesk / community-skeleton

UVdesk Opensource Community Helpdesk Project built for all to make a Full Ticketing Support System along with many more other features.
https://www.uvdesk.com
MIT License
7.32k stars 452 forks source link

Mandatory Ticket Fields #561

Closed Ivan-mst closed 2 years ago

Ivan-mst commented 2 years ago

I'm trying to understand what's the code behind the ticket validation, Trying to figure out how i can let a user create a ticket before i know the customer email adress or how i can validate it differently and maybe use a phone number instead.

i did try to change for example the "required" option to false editing ticket.php inside vendor\uvdesk\support-center-bundle\Form and reloading the page but i assume i either got something wrong or there's a validation executed somewhere else.

Any hints?

papnoisanjeev commented 2 years ago

@Ivan-mst

You can check ticket create page for customers here. Hope it will help you !!

Ivan-mst commented 2 years ago

It does indeed! and it works! Just wondering aswell where is the control for staff ticket creation xD

Thank you!

papnoisanjeev commented 2 years ago

@Ivan-mst

Just wondering as well where is the control for staff ticket creation

You can check here.

Ivan-mst commented 2 years ago

I actually found it myself just a minute ago but it gives an error in another file cause getemail() doesn't tolerate an empty value.. will need to check a few things here and there i guess. i was editing my answer to let you know but wasn't fast enough. thank you!