Mandatory fields in custom form

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Mandatory fields in custom form

Postby rajendra781 » Mon May 25, 2015 12:58 am

How to make Mandatory fields in custom form before agents hangup the call
rajendra781
 
Posts: 1
Joined: Mon May 25, 2015 12:48 am

Re: Mandatory fields in custom form

Postby mflorell » Mon May 25, 2015 8:04 am

You have to make a custom programmed form to be able to do that. All of our attempts to make this function work have failed on the agent end, since agents would just close their web browsers and log back in if they didn't want to fill out the fields.
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Mandatory fields in custom form

Postby williamconley » Mon May 25, 2015 1:03 pm

rajendra781 wrote:How to make Mandatory fields in custom form before agents hangup the call

Your challenge is to determine what you intend to do if they skip the field. It's not legal to have their chair shock them, and it's not viable to refuse to submit the page (which loses the data! kinda the opposite of the goal here). So, your page refuses to submit, the agent closes his browser, the data is lost and your custom code was pointless.

I could envision a solution where it's handled in multiple stages:
# Turn required fields red as they are skipped
# If an agent submits with fields still missing: the vicidial agent page should refuse to allow them to "resume" and force them to a custom page where they fill in the missing information. A manager override would then be necessary to get them past this block (or filling in the information, of course).

Another method would be to generate an email to a manager upon locating an entry with required fields missing (no code changes for Vicidial here, external app!).
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Mandatory fields in custom form

Postby Acidshock » Thu Jul 14, 2016 8:33 pm

Sorry to rehash an old topic but has anyone accomplished making the agent interface not allow them to resume if the form isn't submitted or filled out? If so any examples or direction on where to mimic this functionality? I have a use case for forcing the agent to submit something before they move to the next call.
VERSION: 2.14-698a | BUILD: 190207-2301 | Asterisk:13.24.1-vici | Vicibox 8.1.2
Acidshock
 
Posts: 428
Joined: Wed Mar 03, 2010 3:19 pm

Re: Mandatory fields in custom form

Postby mflorell » Fri Jul 15, 2016 7:12 am

We've created custom scripts for clients to do this, where they could only set a call as a sale if specific fields were filled out, but for other calls they were not required. Our tests at doing this within the framework of VICIdial natively all failed badly, with those clients seeing large numbers of agents closing their web browsers to avoid filling in forms. The problem is always defining when you want all fields to be filled in and what exceptions there are, and that is very difficult to program within a flexible framework GUI.
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 72 guests