Page 1 of 1

Custom Fields Validation

PostPosted: Thu Jul 27, 2017 9:38 am
by scicali
Hi, I'm working on a custom field validation and I'd like to share my results with the community. I think that it can be a great feature, for example: when you sell a product, the color should be required. So I do following mods:

* custom form is submitted when agent dispo call, and not when hangs up call
* when agent dispo a call, a js http get call is being made to new page with validation logic; if any custom field is not valid a pop up will appear and the call can't be dispo.
* minimize button shows the entire custom form, to show any required fields and allow to correct it
* new maximize button on left bar to show dispo window again

Re: Custom Fields Validation

PostPosted: Wed Sep 13, 2017 5:35 pm
by williamconley
Avoid changes to vicidial.php ... make this a "web form submit" URL and then it will be upgrade-proof.