lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 1fa08b4 08/13: Make 'AgentPhone' a "required"


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 1fa08b4 08/13: Make 'AgentPhone' a "required" input field
Date: Sat, 15 Jun 2019 20:25:36 -0400 (EDT)

branch: master
commit 1fa08b49f8b1456f7ce1de9ad6e5f8fbc6c315c5
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Make 'AgentPhone' a "required" input field
    
    Some states require the agent's phone number on illustrations.
    
    A validating telephone-number class might be used if one were built into
    wxWidgets. There being none, no elaborate validation is warranted. An
    end user bent on violating the requirement could enter "(000) 000-0000"
    in a validating control as easily as "" in a wxTextCtrl.
---
 input.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/input.cpp b/input.cpp
index 39c96e7..1e800d2 100644
--- a/input.cpp
+++ b/input.cpp
@@ -100,7 +100,7 @@ Input::Input()
     ,AgentCity                        {"*** REQUIRED FIELD MISSING ***"}
     ,AgentState                       {"CT"}
 //    ,AgentZipCode                     {""}
-//    ,AgentPhone                       {""}
+    ,AgentPhone                       {"*** REQUIRED FIELD MISSING ***"}
     ,AgentId                          {"*** REQUIRED FIELD MISSING ***"}
 //    ,InsuredPremiumTableNumber        {""}
     ,InsuredPremiumTableFactor        {"1"}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]