diff options
Diffstat (limited to 'httemplate')
| -rw-r--r-- | httemplate/edit/prospect_main.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/httemplate/edit/prospect_main.html b/httemplate/edit/prospect_main.html index da5c6ce37..9340493b4 100644 --- a/httemplate/edit/prospect_main.html +++ b/httemplate/edit/prospect_main.html @@ -1,7 +1,22 @@ +<SCRIPT> + function checkPasswordValidation(fieldid) { + var validationResult = document.getElementById(fieldid+'_result').innerHTML; + if (validationResult.match(/Password valid!/)) { + return true; + } + else { + return false; + } + } +</SCRIPT> + +<& '/elements/validate_password_js.html', &> + <% include('elements/edit.html', 'name_singular' => 'prospect', 'table' => 'prospect_main', 'labels' => { 'prospectnum' => 'Prospect', + 'disabled' => 'Disabled', 'agentnum' => 'Agent', 'refnum' => 'Advertising source', 'company' => 'Company', @@ -24,6 +39,10 @@ 'options' => [ 'Residential', 'Commercial', ], 'onchange' => 'rescom_changed', }, + { 'field' => 'disabled', + 'type' => 'checkbox', + 'value' => 'Y', + }, { 'field' => 'company', 'type' => 'text', 'size' => 50, |
