Two near-identical fields - one saves, one doesn't

buckwheatpie 16 Feb, 2010
Hi,

I';ve created two very similar fields as follows - one ois called 'amount', one is called 'covers':

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Amount (in pounds)</label>
    <input class="cf_inputbox validate-number" maxlength="150" size="30" title="Numbers only" id="amount" name="amount" type="text" />
  
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Payment valid for (in months)</label>
    <input class="cf_inputbox validate-number" maxlength="150" size="30" title="Numbers only" id="covers" name="covers" type="text" />


The form is linked to table jos_chronoforms_payments; both fields appear in the table, with the names "amount" and "covers". Both are of type "varchar(255)", and yet, when i enter data into the form, the 'amount' always appears in the database, yet 'covers' never does.

Have i missed something really obvious here? (this is what usually happens). Please help!

many thanks
buckwheatpie 16 Feb, 2010
OK, it's working now, no idea why! sorry to take up your time...

many thanks
This topic is locked and no more replies can be posted.