Grazie per l'informazione...
Io però non conosco molto bene il php...
Il file editviewdefs.php è quello nella cartella del mio modulo oppure nella cartella custom?
PHP Code:
<?php
$module_name = 'fts01_Righe_Offerta';
$viewdefs [$module_name] =
array (
'EditView' =>
array (
'templateMeta' =>
array (
'maxColumns' => '2',
'widths' =>
array (
0 =>
array (
'label' => '10',
'field' => '30',
),
1 =>
array (
'label' => '10',
'field' => '30',
),
),
),
'panels' =>
array (
'DEFAULT' =>
array (
0 =>
array (
0 =>
array (
'name' => 'fts01_prodotti_fts01_righe_offerta_name',
),
),
1 =>
array (
0 =>
array (
'name' => 'qta',
'label' => 'LBL_QTA',
),
1 =>
array (
'name' => 'prezzo',
'label' => 'LBL_PREZZO',
),
),
2 =>
array (
0 =>
array (
'name' => 'sconto',
'label' => 'LBL_SCONTO',
),
1 =>
array (
'name' => 'prezzo_netto',
'label' => 'LBL_PREZZO_NETTO',
),
),
3 =>
array (
0 =>
array (
'name' => 'description',
'label' => 'LBL_DESCRIPTION',
),
),
),
),
),
);
?>
Come faccio a inserire un javascript sul campo quantità?
Mi potresti gentilmente fare un esempio?
Nell' onchange del javascript come faccio a far impostare i dati dei campi collegati?
Bookmarks