Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Jun 2006
    Location
    NYC
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need help desparately

    Can someone please help me tonight?

    I have a 9AM deadline and need to get this code to work.

    I have been trying for about a week now.

    See my initial post at the following:

    Calculating dynamic form fields
    tGirl

  • #2
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,511
    Thanks
    3
    Thanked 504 Times in 491 Posts
    the code i have produced for you has been tested withIE6 and Moz FF

    Post the rendered code that does not work.
    Vic

    God Loves You and will never love you less.

    http://www.vicsjavascripts.org/Home.htm

    If my post has been useful please donate to http://www.operationsmile.org.uk/

  • #3
    New Coder
    Join Date
    Jun 2006
    Location
    NYC
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts
    can I email you my file?
    tGirl

  • #4
    New Coder
    Join Date
    Jun 2006
    Location
    NYC
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    here goes...

    1. Here my initial table...I assigned the ID "T1"


    Also, this table has includes. The includes is where the actual calculating takes place.

    PHP Code:
    <table border="0" cellpadding="0" cellspacing="0" id="T1">
                  <
    tr>
                    <
    td height="10" colspan="2"></td>
                  </
    tr>
                  <
    tr>
                    <
    cfparam name="TOTALWRITTENPREMPROPCAS#i#" default="">
                    <
    td colspan="2"How much Total Written Premium for all Property and Casualty Lines did you write in <cfoutput>#DateFormat(DateAdd("yyyy", -1, "#Now()#"), 'YYYY')#</cfoutput>?</td>
                    
    <td><input type="text" name="<cfoutput>TotalWrittenPremPropCas#i#</cfoutput>"  onBlur="checkvalid(this)" value="<cfoutput>#Evaluate("TotalWrittenPremPropCas" & i)#</cfoutput>" size="8" />
                      <
    span class="note"> * </span></td>
                  </
    tr>
                  <
    tr>
                    <
    td height="5" colspan="2"></td>
                  </
    tr>
                  <
    tr>
                    <
    cfparam name="TOTALWRITTENPREMPERSONALAUTO#i#" default="">
                    <
    td colspan="2">How much Total Written Premium for Personal Auto did you write in <cfoutput>#DateFormat(DateAdd("yyyy", -1, "#Now()#"), 'YYYY')#</cfoutput>?</td>
                    
    <td><input type="text" name="<cfoutput>TotalWrittenPremPersonalAuto#i#</cfoutput>" onBlur="checkvalid(this);" value="<cfoutput>#Evaluate("TotalWrittenPremPersonalAuto" & i)#</cfoutput>" size="8" />
                      <
    span class="note"> * </span></td>
                  </
    tr>
                  <
    tr>
                    <
    td height="5" colspan="3"></td>
                  </
    tr>
                  <
    tr>
                    <
    cfparam name="NUMBEROFCARRIERS#i#" default="">
                    <
    td colspan="2">How many carriers do you sell auto insurance for?</td>
                    <
    td><input type="text" name="<cfoutput>NumberOfCarriers#i#</cfoutput>" onBlur="checkvalid(this)" value="<cfoutput>#Evaluate("NumberOfCarriers" & i)#</cfoutput>" size="8"  />
                      <
    span class="note"> * </span></td>
                  </
    tr>
                  <
    tr>
                    <
    td height="5" colspan="3"></td>
                  </
    tr>
                  <
    tr>
                    <
    cfparam name="TotalMonthlyQuotes#i#" default="">
                    <
    td colspan="2">Total Monthly Personal Auto Quotes?</td>
                    <
    td><input type="text" name="<cfoutput>TotalMonthlyQuotes#i#</cfoutput>" onBlur="checkvalid(this)" value="<cfoutput>#Evaluate("TotalMonthlyQuotes" & i)#</cfoutput>" size="8" />
                      <
    span class="note"> * </span></td>
                  </
    tr>
                  <
    tr>
                    <
    th colspan="4">&nbsp;</th>
                  <
    tr>
                  <
    tr>
                    <
    th colspan="4">List Top 5 Personal Auto Companies (in order of written premium) </th>
                  </
    tr>
                  <
    tr>
                    <
    td height="20"></td>
                  </
    tr>
                
                  <!--- Include 
    personal auto questions --->
                  <
    cfinclude template="personalAuto.cfm">
                  <
    tr>
                    <
    th colspan="4">&nbsp;</th>
                  <
    tr>
                  <
    tr>
                    <
    th colspan="4">If your business writes these lines complete the following information:</th>
                  </
    tr>
                  <
    tr>
                    <
    td height="20"></td>
                  </
    tr>
                  <!--- Include 
    special lines questions --->
                  <
    cfinclude template="specialLines.cfm">
                  
                
                
                </
    table

    2. Here is my include file. Notice I have apply the onblur and classes to each and the very last fields, which are the total fields have a different class applied:


    PHP Code:



    <cfset j=((i-1)*numCompaniesPerLocation)+1>


    <
    cfparam name="annualWPremPersonalAutoTOTAL#i#" default="">
    <
    cfparam name="newBusAppsPersonalAutoTOTAL#i#" default="">
    <
    cfparam name="Company#j#" default="">
    <
    cfparam name="newBusAppsMonthly#j#" default="0">
    <
    cfparam name="AnnualWrittenPremium#j#" default="0">
    <
    cfparam name="newBusAppsYearly#j#" default="0">

    <
    cfoutput>
      <
    input type="hidden" name="newBusAppsYearly#j#"  value="#Evaluate("newBusAppsYearly" & j)#">
    </
    cfoutput>
    <
    cfparam name="CompetitorID#j#" default="-1">
    <
    cfoutput>
      <
    input type="hidden" name="CompetitorID#j#"  value="#Evaluate("CompetitorID" & j)#">
    </
    cfoutput>
    <
    cfparam name="LineOfBusiness#j#" default="Personal Auto">
    <
    cfoutput>
      <
    input type="hidden" name="LineOfBusiness#j#"  value="#Evaluate("LineOfBusiness" & j)#">
    </
    cfoutput>
    <
    cfparam name="CompanyLocationID#j#" default="">
    <
    cfoutput>
      <
    input type="hidden" name="CompanyLocationID#j#"  value="#Evaluate("session.locationID" & i)#">
    </
    cfoutput>
    <
    tr>
      <
    td width="365">Company <span class="note"> * </span></td>
      <
    td width="215"><div align="center">ANNUAL Written Premium <span class="note"> * </span></div></td>
      <
    td width="234"><div align="center">MONTHLY New Business Apps <span class="note"> * </span></div></td>
    </
    tr>
    <
    tr>
      <
    td1.
        
    <select name="<cfoutput>Company#j#</cfoutput>" onChange="restoreDefaultValues(this); ">
          <
    option value="">Choose one</option>
          <
    option value="none"  <cfif #Evaluate("Company" & j)# EQ "None"> selected</cfif>>I don't write Personal Auto</option>
          
    <cfoutput QUERY="getCompetitorsList">
              <
    option value="#company#" <cfif #Evaluate("company" & j)# EQ "#company#">selected</cfif>>#company#</option>
          
    </cfoutput>
        </
    select>
      </
    td>
      <
    td><input name="<cfoutput>annualWrittenPremium#j#</cfoutput>" type="text"  class="ip" onblur="zxcCalculate('T1');" value="<cfoutput>#Evaluate("AnnualWrittenPremium" & j)#</cfoutput>" size="12" maxlength="12" />
      </
    td>
      <
    td><input type="Text" name="<cfoutput>newBusAppsMonthly#j#</cfoutput>"   class="ip" onblur="zxcCalculate('T1');"  size="12" value="<cfoutput>#Evaluate("newBusAppsMonthly" & j)#</cfoutput>" maxlength="12" />
      </
    td>
    </
    tr>
    <
    cfset j +1>
    <
    cfparam name="Company#j#" default="">
    <
    cfparam name="newBusAppsMonthly#j#" default="0">
    <
    cfparam name="AnnualWrittenPremium#j#" default="0">
    <
    cfparam name="newBusAppsYearly#j#" default="0">
    <
    cfoutput>
      <
    input type="hidden" name="newBusAppsYearly#j#"  value="#Evaluate("newBusAppsYearly" & j)#">
    </
    cfoutput>
    <
    cfparam name="CompetitorID#j#" default="-1">
    <
    cfoutput>
      <
    input type="hidden" name="CompetitorID#j#"  value="#Evaluate("CompetitorID" & j)#">
    </
    cfoutput>
    <
    cfparam name="LineOfBusiness#j#" default="Personal Auto">
    <
    cfoutput>
      <
    input type="hidden" name="LineOfBusiness#j#"  value="#Evaluate("LineOfBusiness" & j)#">
    </
    cfoutput>
    <
    cfparam name="CompanyLocationID#j#" default="">
    <
    cfoutput>
      <
    input type="hidden" name="CompanyLocationID#j#"  value="#Evaluate("session.locationID" & i)#">
    </
    cfoutput>
    <
    tr>
      <
    td2.
        
    <select name="<cfoutput>Company#j#</cfoutput>">
          <
    option value="">Choose one</option>
          <
    option value="none"  <cfif #Evaluate("Company" & j)# EQ "None"> selected</cfif>>None</option>
          
    <cfoutput QUERY="getCompetitorsList">
            <
    option value="#company#" <cfif #Evaluate("company" & j)# EQ "#company#">selected</cfif>>#company#</option>
          
    </cfoutput>
        </
    select>
      <
    td><input name="<cfoutput>annualWrittenPremium#j#</cfoutput>" type="text"  class="ip" onblur="zxcCalculate('T1');"   value="<cfoutput>#Evaluate("AnnualWrittenPremium" & j)#</cfoutput>" size="12" maxlength="12" />
      </
    td>
      <
    td><input type="Text" name="<cfoutput>newBusAppsMonthly#j#</cfoutput>"   class="ip" onblur="zxcCalculate('T1');" size="12" value="<cfoutput>#Evaluate("newBusAppsMonthly" & j)#</cfoutput>" maxlength="12" />
      </
    td>
    </
    tr>
    <
    cfset j +1>
    <
    cfparam name="Company#j#" default="">
    <
    cfparam name="newBusAppsMonthly#j#" default="0">
    <
    cfparam name="AnnualWrittenPremium#j#" default="0">
    <
    cfparam name="newBusAppsYearly#j#" default="0">
    <
    cfoutput>
      <
    input type="hidden" name="newBusAppsYearly#j#"  value="#Evaluate("newBusAppsYearly" & j)#">
    </
    cfoutput>
    <
    cfparam name="LineOfBusiness#j#" default="Personal Auto">
    <
    cfoutput>
      <
    input type="hidden" name="LineOfBusiness#j#"  value="#Evaluate("LineOfBusiness" & j)#">
    </
    cfoutput>
    <
    cfparam name="CompetitorID#j#" default="-1">
    <
    cfoutput>
      <
    input type="hidden" name="CompetitorID#j#"  value="#Evaluate("CompetitorID" & j)#">
    </
    cfoutput>
    <
    cfparam name="CompanyLocationID#j#" default="">
    <
    cfoutput>
      <
    input type="hidden" name="CompanyLocationID#j#"  value="#Evaluate("session.locationID" & i)#">
    </
    cfoutput>
    <
    tr>
      <
    td valign="top"3.
        
    <select name="<cfoutput>Company#j#</cfoutput>">
          <
    option value="">Choose one</option>
          <
    option value="none"  <cfif #Evaluate("Company" & j)# EQ "None"> selected</cfif>>None</option>
          
    <cfoutput QUERY="getCompetitorsList">
             <
    option value="#company#" <cfif #Evaluate("company" & j)# EQ "#company#">selected</cfif>>#company#</option>
          
    </cfoutput>
        </
    select>
      </
    td>
      <
    td><input type="Text" name="<cfoutput>annualWrittenPremium#j#</cfoutput>"  class="ip" onblur="zxcCalculate('T1');"    value="<cfoutput>#Evaluate("AnnualWrittenPremium" & j)#</cfoutput>" size="12" maxlength="12" />
      </
    td>
      <
    td><input type="Text" name="<cfoutput>newBusAppsMonthly#j#</cfoutput>"     class="ip" onblur="zxcCalculate('T1');"   value="<cfoutput>#Evaluate("newBusAppsMonthly" & j)#</cfoutput>" size="12" maxlength="12" />
      </
    td>
    </
    tr>
    <
    cfset j +1>
    <
    cfparam name="Company#j#" default="">
    <
    cfparam name="newBusAppsMonthly#j#" default="0">
    <
    cfparam name="AnnualWrittenPremium#j#" default="0">
    <
    cfparam name="newBusAppsYearly#j#" default="0">
    <
    cfoutput>
      <
    input type="hidden" name="newBusAppsYearly#j#"  value="#Evaluate("newBusAppsYearly" & j)#">
    </
    cfoutput>
    <
    cfparam name="LineOfBusiness#j#" default="Personal Auto">
    <
    cfoutput>
      <
    input type="hidden" name="LineOfBusiness#j#"  value="#Evaluate("LineOfBusiness" & j)#">
    </
    cfoutput>
    <
    cfparam name="CompetitorID#j#" default="-1">
    <
    cfoutput>
      <
    input type="hidden" name="CompetitorID#j#"  value="#Evaluate("CompetitorID" & j)#">
    </
    cfoutput>
    <
    cfparam name="CompanyLocationID#j#" default="">
    <
    cfoutput>
      <
    input type="hidden" name="CompanyLocationID#j#"  value="#Evaluate("session.locationID" & i)#">
    </
    cfoutput>
    <
    tr>
      <
    td valign="top"4.
        
    <select name="<cfoutput>Company#j#</cfoutput>">
          <
    option value="">Choose one</option>
          <
    option value="none"  <cfif #Evaluate("Company" & j)# EQ "None"> selected</cfif>>None</option>
          
    <cfoutput QUERY="getCompetitorsList">
            <
    option value="#company#" <cfif #Evaluate("company" & j)# EQ "#company#">selected</cfif>>#company#</option>
          
    </cfoutput>
        </
    select>
      </
    td>
      <
    td><input type="text" name="<cfoutput>annualWrittenPremium#j#</cfoutput>" class="ip" onblur="zxcCalculate('T1');"    value="<cfoutput>#Evaluate("AnnualWrittenPremium" & j)#</cfoutput>" size="12" maxlength="12" />
      </
    td>
      <
    td><input type="Text" name="<cfoutput>newBusAppsMonthly#j#</cfoutput>"   class="ip" onblur="zxcCalculate('T1');"  value="<cfoutput>#Evaluate("newBusAppsMonthly" & j)#</cfoutput>"  size="12" maxlength="12" />
      </
    td>
    </
    tr>
    <
    cfset j +1>
    <
    cfparam name="Company#j#" default="">
    <
    cfparam name="newBusAppsMonthly#j#" default="0">
    <
    cfparam name="AnnualWrittenPremium#j#" default="0">
    <
    cfparam name="newBusAppsYearly#j#" default="0">
    <
    cfoutput>
      <
    input type="hidden" name="newBusAppsYearly#j#"  value="#Evaluate("newBusAppsYearly" & j)#">
    </
    cfoutput>
    <
    cfparam name="LineOfBusiness#j#" default="Personal Auto">
    <
    cfoutput>
      <
    input type="hidden" name="LineOfBusiness#j#"  value="#Evaluate("LineOfBusiness" & j)#">
    </
    cfoutput>
    <
    cfparam name="CompetitorID#j#" default="-1">
    <
    cfoutput>
      <
    input type="hidden" name="CompetitorID#j#"  value="#Evaluate("CompetitorID" & j)#">
    </
    cfoutput>
    <
    cfparam name="CompanyLocationID#j#" default="">
    <
    cfoutput>
      <
    input type="hidden" name="CompanyLocationID#j#"  value="#Evaluate("session.locationID" & i)#">
    </
    cfoutput>
    <
    tr>
      <
    td valign="top"5.
        
    <select name="<cfoutput>Company#j#</cfoutput>">
          <
    option value="">Choose one</option>
          <
    option value="none"  <cfif #Evaluate("Company" & j)# EQ "None"> selected</cfif>>None</option>
          
    <cfoutput QUERY="getCompetitorsList">
             <
    option value="#company#" <cfif #Evaluate("company" & j)# EQ "#company#">selected</cfif>>#company#</option>
          
    </cfoutput>
        </
    select>
      </
    td>
      <
    td><input type="text" name="<cfoutput>annualWrittenPremium#j#</cfoutput>"   class="ip" onblur="zxcCalculate('T1');" value="<cfoutput>#Evaluate("AnnualWrittenPremium" & j)#</cfoutput>" size="12" maxlength="12" />
      </
    td>
      <
    td><input type="Text" name="<cfoutput>newBusAppsMonthly#j#</cfoutput>"   class="ip" onblur="zxcCalculate('T1');"  value="<cfoutput>#Evaluate("newBusAppsMonthly" & j)#</cfoutput>"  size="12" maxlength="12" />
      </
    td>
    </
    tr>
    <
    cfset j +1>
    <
    cfparam name="Company#j#" default="">
    <
    cfparam name="newBusAppsMonthly#j#"default="0">
    <
    cfparam name="AnnualWrittenPremium#j#" default="0">
    <
    cfparam name="LineOfBusiness#j#" default="Personal Auto">
    <
    cfoutput>
      <
    input type="hidden" name="LineOfBusiness#j#"  value="#Evaluate("LineOfBusiness" & j)#">
    </
    cfoutput>
    <
    cfparam name="newBusAppsYearly#j#" default="0">
    <
    cfoutput>
      <
    input type="hidden" name="newBusAppsYearly#j#"  value="#Evaluate("newBusAppsYearly" & j)#">
    </
    cfoutput>
    <
    cfparam name="CompetitorID#j#" default="-1">
    <
    cfoutput>
      <
    input type="hidden" name="CompetitorID#j#"  value="#Evaluate("CompetitorID" & j)#">
    </
    cfoutput>
    <
    cfparam name="CompanyLocationID#j#" default="">
    <
    cfoutput>
      <
    input type="hidden" name="CompanyLocationID#j#"  value="#Evaluate("session.locationID" & i)#">
    </
    cfoutput>
    <
    tr>
      <
    td valign="top"6. All Other Carriers</td>
      <
    td><input type="text" name="<cfoutput>annualWrittenPremium#j#</cfoutput>"    class="ip" onblur="zxcCalculate('T1');"  value="<cfoutput>#Evaluate("AnnualWrittenPremium" & j)#</cfoutput>" size="12" maxlength="12" />
      </
    td>
      <
    td><input type="Text" name="<cfoutput>newBusAppsMonthly#j#</cfoutput>"    class="ip" onblur="zxcCalculate('T1');"  size="12" value="<cfoutput>#Evaluate("newBusAppsMonthly" & j)#</cfoutput>" maxlength="12" />
      </
    td>
      <
    cfoutput>
        <
    input type="hidden" name="Company#j#"  value="OTHER">
      </
    cfoutput> </tr>
    <
    tr>
      <
    td height="15"></td>
    </
    tr>
    <
    tr>
      <
    td align="right">TOTAL:</td>
      <
    td>
          <
    cfparam default="" name="annualWPremPersonalAutoTOTAL#i#">
          <
    input type="Text" name="<cfoutput>annualWPremPersonalAutoTOTAL#i#</cfoutput>" class="st" onblur="zxcCalculate('T1');" onBlur="checkvalid(this)" size="12" value="<cfoutput>#Evaluate("annualWPremPersonalAutoTOTAL" & i)#</cfoutput>" maxlength="12" />
        </
    td>
      <
    td>
          <
    cfparam default="" name="newBusAppsPersonalAutoTOTAL#i#">
          <
    input type="Text" name="<cfoutput>newBusAppsPersonalAutoTOTAL#i#</cfoutput>" class="st" onblur="zxcCalculate('T1');" onBlur="checkvalid(this)" size="12" value="<cfoutput>#Evaluate("newBusAppsPersonalAutoTOTAL" & i)#</cfoutput>" maxlength="12" />
       </
    td>
    </
    tr>
    <
    tr>
      <
    td height="20"></td>
    </
    tr
    tGirl

  • #5
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,511
    Thanks
    3
    Thanked 504 Times in 491 Posts
    need to see the rendered code as difficult to process your php
    Vic

    God Loves You and will never love you less.

    http://www.vicsjavascripts.org/Home.htm

    If my post has been useful please donate to http://www.operationsmile.org.uk/

  • #6
    New Coder
    Join Date
    Jun 2006
    Location
    NYC
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I can't include it all...it's very long but here is most of it

    Code:
    <div class="special">
      <h5 class="arrow2">Please enter competitor information for your '102 Williams Street' location</h5>
      <table border="0" cellpadding="0" cellspacing="0" id="T1">
        <tr>
          <td height="10" colspan="2"></td>
        </tr>
        <tr>
          <td colspan="2"> How much Total Written Premium for all Property and Casualty Lines did you write in 2005?</td>
          <td><input type="text" name="TotalWrittenPremPropCas1"  onBlur="checkvalid(this)" value="1000" size="8" />
            <span class="note"> * </span></td>
        </tr>
        <tr>
          <td height="5" colspan="2"></td>
        </tr>
        <tr>
          <td colspan="2">How much Total Written Premium for Personal Auto did you write in 2005?</td>
          <td><input type="text" name="TotalWrittenPremPersonalAuto1" onBlur="checkvalid(this);" value="2000" size="8" />
            <span class="note"> * </span></td>
        </tr>
        <tr>
          <td height="5" colspan="3"></td>
        </tr>
        <tr>
          <td colspan="2">How many carriers do you sell auto insurance for?</td>
          <td><input type="text" name="NumberOfCarriers1" onBlur="checkvalid(this)" value="3000" size="8"  />
            <span class="note"> * </span></td>
        </tr>
        <tr>
          <td height="5" colspan="3"></td>
        </tr>
        <tr>
          <td colspan="2">Total Monthly Personal Auto Quotes?</td>
          <td><input type="text" name="TotalMonthlyQuotes1" onBlur="checkvalid(this)" value="4000" size="8" />
            <span class="note"> * </span></td>
        </tr>
        <tr>
          <th colspan="4">&nbsp;</th>
        <tr>
        <tr>
          <th colspan="4">List Top 5 Personal Auto Companies (in order of written premium) </th>
        </tr>
        <tr>
          <td height="20"></td>
        </tr>
        <input type="hidden" name="newBusAppsYearly1"  value="0">
        <input type="hidden" name="CompetitorID1"  value="141">
        <input type="hidden" name="LineOfBusiness1"  value="Personal Auto">
        <input type="hidden" name="CompanyLocationID1"  value="768">
        <tr>
          <td width="365">Company <span class="note"> * </span></td>
          <td width="215"><div align="center">ANNUAL Written Premium <span class="note"> * </span></div></td>
          <td width="234"><div align="center">MONTHLY New Business Apps <span class="note"> * </span></div></td>
        </tr>
        <tr>
          <td> 1.
            <select name="Company1" onChange="restoreDefaultValues(this); ">
              <option value="">Choose one</option>
              <option value="none"  >I don't write Personal Auto</option>
              <option value=" 1st Auto" > 1st Auto</option>
              <option value=" A & M Ins. Assoc." > A & M Ins. Assoc.</option>
              <option value=" AAA Insurance" > AAA Insurance</option>
              <option value=" ACC" selected> ACC</option>
              <option value=" ACCU" > ACCU</option>
              <option value=" AGA" > AGA</option>
              <option value=" AIC" > AIC</option>
              <option value=" AIG" > AIG</option>
              <option value=" AIM" > AIM</option>        
            </select>
          </td>
          <td><input name="annualWrittenPremium1" type="text"  class="ip" onBlur="zxcCalculate('T1');" value="4560" size="12" maxlength="12" />
          </td>
          <td><input type="Text" name="newBusAppsMonthly1"   class="ip" onBlur="zxcCalculate('T1');"  size="12" value="9876" maxlength="12" />
          </td>
        </tr>
        <input type="hidden" name="newBusAppsYearly2"  value="0">
        <input type="hidden" name="CompetitorID2"  value="142">
        <input type="hidden" name="LineOfBusiness2"  value="Personal Auto">
        <input type="hidden" name="CompanyLocationID2"  value="768">
        <tr>
          <td> 2.
            <select name="Company2">
               <option value="">Choose one</option>
              <option value="none"  >I don't write Personal Auto</option>
              <option value=" 1st Auto" > 1st Auto</option>
              <option value=" A & M Ins. Assoc." > A & M Ins. Assoc.</option>
              <option value=" AAA Insurance" > AAA Insurance</option>
              <option value=" ACC" selected> ACC</option>
              <option value=" ACCU" > ACCU</option>
              <option value=" AGA" > AGA</option>
              <option value=" AIC" > AIC</option>
              <option value=" AIG" > AIG</option>
              <option value=" AIM" > AIM</option>        
            </select>
          </td>
          <td><input type="Text" name="annualWrittenPremium3"  class="ip" onBlur="zxcCalculate('T1');"    value="0" size="12" maxlength="12" />
          </td>
          <td><input type="Text" name="newBusAppsMonthly3"     class="ip" onBlur="zxcCalculate('T1');"   value="0" size="12" maxlength="12" />
          </td>
        </tr>
        <input type="hidden" name="newBusAppsYearly4"  value="0">
        <input type="hidden" name="LineOfBusiness4"  value="Personal Auto">
        <input type="hidden" name="CompetitorID4"  value="144">
        <input type="hidden" name="CompanyLocationID4"  value="768">
        <tr>
          <td valign="top"> 4.
            <select name="Company4">
              <option value="">Choose one</option>
              <option value="none"  >I don't write Personal Auto</option>
              <option value=" 1st Auto" > 1st Auto</option>
              <option value=" A & M Ins. Assoc." > A & M Ins. Assoc.</option>
              <option value=" AAA Insurance" > AAA Insurance</option>
              <option value=" ACC" selected> ACC</option>
              <option value=" ACCU" > ACCU</option>
              <option value=" AGA" > AGA</option>
              <option value=" AIC" > AIC</option>
              <option value=" AIG" > AIG</option>
              <option value=" AIM" > AIM</option>        
            </select>
          </td>
          <td><input type="text" name="annualWrittenPremium4" class="ip" onBlur="zxcCalculate('T1');"    value="0" size="12" maxlength="12" />
          </td>
          <td><input type="Text" name="newBusAppsMonthly4"   class="ip" onBlur="zxcCalculate('T1');"  value="0"  size="12" maxlength="12" />
          </td>
        </tr>
        <input type="hidden" name="newBusAppsYearly5"  value="0">
        <input type="hidden" name="LineOfBusiness5"  value="MC">
        <input type="hidden" name="CompetitorID5"  value="145">
        <input type="hidden" name="CompanyLocationID5"  value="768">
        <tr>
          <td valign="top"> 5.
            <select name="Company5">
               <option value="">Choose one</option>
              <option value="none"  >I don't write Personal Auto</option>
              <option value=" 1st Auto" > 1st Auto</option>
              <option value=" A & M Ins. Assoc." > A & M Ins. Assoc.</option>
              <option value=" AAA Insurance" > AAA Insurance</option>
              <option value=" ACC" selected> ACC</option>
              <option value=" ACCU" > ACCU</option>
              <option value=" AGA" > AGA</option>
              <option value=" AIC" > AIC</option>
              <option value=" AIG" > AIG</option>
              <option value=" AIM" > AIM</option>        
        </select>
        
        </td>
        
        <td><br />
            <input name="annualWrittenPremium9" class="ip" onBlur="zxcCalculate('T1');" type="text"  value="0" size="12" maxlength="12" />
          </td>
          <td><br />
            <input type="Text" name="newBusAppsYearly9" class="ip" onBlur="zxcCalculate('T1');"  size="12" value="0" maxlength="12" />
          </td>
        </tr>
        <input type="hidden" name="CompetitorID10"  value="148">
        <input type="hidden" name="LineOfBusiness10"  value="WC">
        <input type="hidden" name="newBusAppsMonthly10"  value="0">
        <input type="hidden" name="CompanyLocationID10"  value="768">
        <tr>
          <td valign="top">Water Craft
            <select name="Company10">
               <option value="">Choose one</option>
              <option value="none"  >I don't write Personal Auto</option>
              <option value=" 1st Auto" > 1st Auto</option>
              <option value=" A & M Ins. Assoc." > A & M Ins. Assoc.</option>
              <option value=" AAA Insurance" > AAA Insurance</option>
              <option value=" ACC" selected> ACC</option>
              <option value=" ACCU" > ACCU</option>
              <option value=" AGA" > AGA</option>
              <option value=" AIC" > AIC</option>
              <option value=" AIG" > AIG</option>
              <option value=" AIM" > AIM</option>        
            </select>
          </td>
          <td><br />
            <input name="annualWrittenPremium10" type="text"  class="ip" onBlur="zxcCalculate('T1');" value="0" size="12" maxlength="12" />
          </td>
          <td><br />
            <input type="Text" name="newBusAppsYearly10" class="ip" onBlur="zxcCalculate('T1');"  size="12" value="0" maxlength="12" />
          </td>
        </tr>
        <input type="hidden" name="CompetitorID11"  value="149">
        <input type="hidden" name="LineOfBusiness11"  value="Flood">
        <input type="hidden" name="newBusAppsMonthly11"  value="0">
        <input type="hidden" name="CompanyLocationID11"  value="768">
        <tr>
          <td valign="top"> Flood
            <select name="Company11">
                <option value="">Choose one</option>
              <option value="none"  >I don't write Personal Auto</option>
              <option value=" 1st Auto" > 1st Auto</option>
              <option value=" A & M Ins. Assoc." > A & M Ins. Assoc.</option>
              <option value=" AAA Insurance" > AAA Insurance</option>
              <option value=" ACC" selected> ACC</option>
              <option value=" ACCU" > ACCU</option>
              <option value=" AGA" > AGA</option>
              <option value=" AIC" > AIC</option>
              <option value=" AIG" > AIG</option>
              <option value=" AIM" > AIM</option>        
            </select>
          </td>
          <td><br />
            <input name="annualWrittenPremium11" type="text"  class="ip" onBlur="zxcCalculate('T1');" value="5600" size="12" maxlength="12" />
          </td>
          <td><br />
            <input type="Text" name="newBusAppsYearly11"  class="ip" onBlur="zxcCalculate('T1');" size="12" value="3566" maxlength="12" />
          </td>
        </tr>
        <tr>
          <td height="15"></td>
        </tr>
        <tr>
          <td align="right">TOTAL:</td>
          <td><input type="Text" name="annualWPremSpecialLinesTOTAL1" class="st" onblur="zxcCalculate('T1');" onBlur="checkvalid(this)" size="12" value="" maxlength="12" />
          </td>
          <td><input type="Text" name="newBusAppsSpecialLinesTOTAL1" class="st" onblur="zxcCalculate('T1');" onBlur="checkvalid(this)" size="12" value="" maxlength="12" />
          </td>
        </tr>
        <tr>
          <td height="20"></td>
        </tr>
      </table>
    </div>
    tGirl


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •