mercredi 28 février 2018

Checkboxes value not saving after refresh (joomla)

I just want to finger out why the checkboxes value are not saving. So basically it's a question in what condition the goods are.

  • Bad
  • Good
  • New condition

The platform i use is joomla. The Database field (image)

<input autocomplete="off" type="checkbox" name="condition" value="Bad" <?php  if($this->item->condition_bad==1 && $this->item->id>0)?> />
    <span>Bad</span>

    <input autocomplete="off" type="checkbox" name="condition" value="Good" <?php  if($this->item->condition_good==1 && $this->item->id>0)?> />
    <span>Good</span>

    <input autocomplete="off" type="checkbox" name="condition" value="New" <?php  if($this->item->condition_new==1 && $this->item->id>0)?> />
    <span>New</span>




Aucun commentaire:

Enregistrer un commentaire