Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Nedeľa, 29. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Hidden field with a default value?

phpMyEdit Configuration     Hidden field with a default value?
Odoslať novú tému   Odpovedať na tému    
 
gadders     Založený: 02.07.2009   Príspevky: 1  
Príspevok Zaslal: 2009-07-02 21:39
Návrat hore  Odpovedať s citátom     

Hi,

I have created two forms, one a clone of the other, for Events and News Items.

The only difference between the two fields is that for one a hidden field called Event records a "1", for the other it records a "0".

However, for the Event page where type field is supposed to be equal to 1, it is not storing the value in the database.

This is the code I have for the field:

Kód:
$opts['fdd']['event'] = array(
  'name'     => 'event',
  'select'   => 'T',
  'input'    => 'H',
  'options'  => 'H',
  'maxlen'   => 12,
  'default'  => '1',
  'sort'     => false,
  );


Any suggestions please?

Thanks,

Mark

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov