Mip-forms

Aus DeDi-Help

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
Version vom 21:08, 10. Aug. 2004 (bearbeiten)
Bjoern (Diskussion | Beiträge)
(Checkboxen)
← Zum vorherigen Versionsunterschied
Version vom 20:50, 11. Aug. 2004 (bearbeiten) (Entfernen)
Bjoern (Diskussion | Beiträge)
(Checkboxen)
Zum nächsten Versionsunterschied →
Zeile 758: Zeile 758:
-[Beschreibung] [Checkbox x1] [Checkboxbeschreibung x1]+[Beschreibung] [Checkbox x1] [Checkboxbeschreibung x1]<br>
- [Checkbox x2] [Checkboxbeschreibung x2]+ [Checkbox x2] [Checkboxbeschreibung x2]<br>
[Checkbox x3] [Checkboxbeschreibung x3] [Checkbox x3] [Checkboxbeschreibung x3]
Zeile 786: Zeile 786:
-[Checkbox] [Beschreibung] [Checkbox x1] [Checkboxbeschreibung x1]+[Checkbox] [Beschreibung] [Checkbox x1] [Checkboxbeschreibung x1]<br>
- [Checkbox x2] [Checkboxbeschreibung x2]+ [Checkbox x2] [Checkboxbeschreibung x2]<br>
Zeile 793: Zeile 793:
-$mip_form['0']['cat'] = 'chk';+ <nowiki>$mip_form['0']['cat'] = 'chk';
-$mip_form['0']['type'] = 'chk';+ $mip_form['0']['type'] = 'chk';
-$mip_form['0']['desc'] = 'Auswahl:';+ $mip_form['0']['desc'] = 'Auswahl:';
-$mip_form['0']['chk_var'] = 'MOD_VAR[4]';+ $mip_form['0']['chk_var'] = 'MOD_VAR[4]';
-$mip_form['0']['chk_val'] = $dedi_mod['value']['4'];+ $mip_form['0']['chk_val'] = $dedi_mod['value']['4'];
-$mip_form['0']['chk_val_default'] = '';+ $mip_form['0']['chk_val_default'] = '';
-$mip_form['0']['option_desc']['0'] = 'Checkbox 1';+ $mip_form['0']['option_desc']['0'] = 'Checkbox 1';
-$mip_form['0']['option_var']['0'] = 'MOD_VAR[0]';+ $mip_form['0']['option_var']['0'] = 'MOD_VAR[0]';
-$mip_form['0']['option_val']['0'] = $dedi_mod['value']['0'];+ $mip_form['0']['option_val']['0'] = $dedi_mod['value']['0'];
-$mip_form['0']['option_val_select']['0'] = 'gecheckt';+ $mip_form['0']['option_val_select']['0'] = 'gecheckt';
-$mip_form['0']['option_desc']['1'] = 'Checkbox 2';+ $mip_form['0']['option_desc']['1'] = 'Checkbox 2';
-$mip_form['0']['option_var']['1'] = 'MOD_VAR[1]';+ $mip_form['0']['option_var']['1'] = 'MOD_VAR[1]';
-$mip_form['0']['option_val']['1'] = $dedi_mod['value']['1'];+ $mip_form['0']['option_val']['1'] = $dedi_mod['value']['1'];
-$mip_form['0']['option_val_select']['1'] = 'gecheckt';+ $mip_form['0']['option_val_select']['1'] = 'gecheckt';
-$mip_form['0']['option_desc']['2'] = 'Checkbox 3';+ $mip_form['0']['option_desc']['2'] = 'Checkbox 3';
-$mip_form['0']['option_var']['2'] = 'MOD_VAR[2]';+ $mip_form['0']['option_var']['2'] = 'MOD_VAR[2]';
-$mip_form['0']['option_val']['2'] = $dedi_mod['value']['2'];+ $mip_form['0']['option_val']['2'] = $dedi_mod['value']['2'];
-$mip_form['0']['option_val_select']['2'] = 'gecheckt';+ $mip_form['0']['option_val_select']['2'] = 'gecheckt';
-$mip_form['0']['tab'] = '0';+ $mip_form['0']['tab'] = '0';
 +
 + mip_formsp($mip_form['0']);</nowiki>
-mip_formsp($mip_form['0']); 
-[Radiobutton] [Beschreibung] [Checkbox x1] [Checkboxbeschreibung x1]+[Radiobutton] [Beschreibung] [Checkbox x1] [Checkboxbeschreibung x1]<br>
- [Checkbox x2] [Checkboxbeschreibung x2]+ [Checkbox x2] [Checkboxbeschreibung x2]
 + 
Beispiel: Beispiel:
-$mip_form['0']['cat'] = 'chk'; 
-$mip_form['0']['type'] = 'radio'; 
-$mip_form['0']['desc'] = 'Radiobuttonbeschreibung:'; 
-$mip_form['0']['radio_var'] = 'MOD_VAR[4]'; 
-$mip_form['0']['radio_val'] = $dedi_mod['value']['4']; 
-$mip_form['0']['radio_user_val'] = 'wenn_gleich_radio_val_dann_aktiviert'; 
-$mip_form['0']['radio_val_default'] = ''; 
-$mip_form['0']['option_desc']['0'] = 'Checkbox 1'; 
-$mip_form['0']['option_var']['0'] = 'MOD_VAR[0]'; 
-$mip_form['0']['option_val']['0'] = $dedi_mod['value']['0']; 
-$mip_form['0']['option_val_select']['0'] = 'gecheckt'; 
-$mip_form['0']['option_desc']['1'] = 'Checkbox 2'; 
-$mip_form['0']['option_var']['1'] = 'MOD_VAR[1]'; 
-$mip_form['0']['option_val']['1'] = $dedi_mod['value']['1']; 
-$mip_form['0']['option_val_select']['1'] = 'gecheckt'; 
-$mip_form['0']['option_desc']['2'] = 'Checkbox 3'; 
-$mip_form['0']['option_var']['2'] = 'MOD_VAR[2]'; 
-$mip_form['0']['option_val']['2'] = $dedi_mod['value']['2']; 
-$mip_form['0']['option_val_select']['2'] = 'gecheckt'; 
-$mip_form['0']['tab'] = '0'; 
-mip_formsp($mip_form['0']);+ <nowiki>$mip_form['0']['cat'] = 'chk';
 + $mip_form['0']['type'] = 'radio';
 + $mip_form['0']['desc'] = 'Radiobuttonbeschreibung:';
 + $mip_form['0']['radio_var'] = 'MOD_VAR[4]';
 + $mip_form['0']['radio_val'] = $dedi_mod['value']['4'];
 + $mip_form['0']['radio_user_val'] = 'wenn_gleich_radio_val_dann_aktiviert';
 + $mip_form['0']['radio_val_default'] = '';
 + $mip_form['0']['option_desc']['0'] = 'Checkbox 1';
 + $mip_form['0']['option_var']['0'] = 'MOD_VAR[0]';
 + $mip_form['0']['option_val']['0'] = $dedi_mod['value']['0'];
 + $mip_form['0']['option_val_select']['0'] = 'gecheckt';
 + $mip_form['0']['option_desc']['1'] = 'Checkbox 2';
 + $mip_form['0']['option_var']['1'] = 'MOD_VAR[1]';
 + $mip_form['0']['option_val']['1'] = $dedi_mod['value']['1'];
 + $mip_form['0']['option_val_select']['1'] = 'gecheckt';
 + $mip_form['0']['option_desc']['2'] = 'Checkbox 3';
 + $mip_form['0']['option_var']['2'] = 'MOD_VAR[2]';
 + $mip_form['0']['option_val']['2'] = $dedi_mod['value']['2'];
 + $mip_form['0']['option_val_select']['2'] = 'gecheckt';
 + $mip_form['0']['tab'] = '0';
 + 
 + mip_formsp($mip_form['0']);</nowiki>
-[Beschreibung] +[Beschreibung] <br>
-[Checkbox x1] [Checkboxbeschreibung x1]+[Checkbox x1] [Checkboxbeschreibung x1]<br>
-[Checkbox x2] [Checkboxbeschreibung x2]+[Checkbox x2] [Checkboxbeschreibung x2]<br>
[Checkbox x3] [Checkboxbeschreibung x3] [Checkbox x3] [Checkboxbeschreibung x3]
 +
Beispiel: Beispiel:
-$mip_form['0']['cat'] = 'chk'; 
-$mip_form['0']['type'] = 'long'; 
-$mip_form['0']['desc'] = 'Auswahl:'; 
-$mip_form['0']['option_desc']['0'] = 'Checkbox 1'; 
-$mip_form['0']['option_var']['0'] = 'MOD_VAR[0]'; 
-$mip_form['0']['option_val']['0'] = $dedi_mod['value']['0']; 
-$mip_form['0']['option_val_select']['0'] = 'gecheckt'; 
-$mip_form['0']['option_desc']['1'] = 'Checkbox 2'; 
-$mip_form['0']['option_var']['1'] = 'MOD_VAR[1]'; 
-$mip_form['0']['option_val']['1'] = $dedi_mod['value']['1']; 
-$mip_form['0']['option_val_select']['1'] = 'gecheckt'; 
-$mip_form['0']['option_desc']['2'] = 'Checkbox 3'; 
-$mip_form['0']['option_var']['2'] = 'MOD_VAR[2]'; 
-$mip_form['0']['option_val']['2'] = $dedi_mod['value']['2']; 
-$mip_form['0']['option_val_select']['2'] = 'gecheckt'; 
-$mip_form['0']['tab'] = '0'; 
-mip_formsp($mip_form['0']);+ <nowiki>$mip_form['0']['cat'] = 'chk';
 + $mip_form['0']['type'] = 'long';
 + $mip_form['0']['desc'] = 'Auswahl:';
 + $mip_form['0']['option_desc']['0'] = 'Checkbox 1';
 + $mip_form['0']['option_var']['0'] = 'MOD_VAR[0]';
 + $mip_form['0']['option_val']['0'] = $dedi_mod['value']['0'];
 + $mip_form['0']['option_val_select']['0'] = 'gecheckt';
 + $mip_form['0']['option_desc']['1'] = 'Checkbox 2';
 + $mip_form['0']['option_var']['1'] = 'MOD_VAR[1]';
 + $mip_form['0']['option_val']['1'] = $dedi_mod['value']['1'];
 + $mip_form['0']['option_val_select']['1'] = 'gecheckt';
 + $mip_form['0']['option_desc']['2'] = 'Checkbox 3';
 + $mip_form['0']['option_var']['2'] = 'MOD_VAR[2]';
 + $mip_form['0']['option_val']['2'] = $dedi_mod['value']['2'];
 + $mip_form['0']['option_val_select']['2'] = 'gecheckt';
 + $mip_form['0']['tab'] = '0';
 +
 + mip_formsp($mip_form['0']);</nowiki>
-[Checkbox] +[Checkbox] <br>
-[Beschreibung] [Checkbox x1] [Checkboxbeschreibung x1]+[Beschreibung] [Checkbox x1] [Checkboxbeschreibung x1]<br>
- [Checkbox x2] [Checkboxbeschreibung x2]+ [Checkbox x2] [Checkboxbeschreibung x2]<br>
 + 
Beispiel: Beispiel:
-$mip_form['0']['cat'] = 'chk'; 
-$mip_form['0']['type'] = 'chk_long'; 
-$mip_form['0']['desc'] = 'Auswahl:'; 
-$mip_form['0']['chk_var'] = 'MOD_VAR[4]'; 
-$mip_form['0']['chk_val'] = $dedi_mod['value']['4']; 
-$mip_form['0']['option_desc']['0'] = 'Checkbox 1'; 
-$mip_form['0']['option_var']['0'] = 'MOD_VAR[0]'; 
-$mip_form['0']['option_val']['0'] = $dedi_mod['value']['0']; 
-$mip_form['0']['option_val_select']['0'] = 'gecheckt'; 
-$mip_form['0']['option_desc']['1'] = 'Checkbox 2'; 
-$mip_form['0']['option_var']['1'] = 'MOD_VAR[1]'; 
-$mip_form['0']['option_val']['1'] = $dedi_mod['value']['1']; 
-$mip_form['0']['option_val_select']['1'] = 'gecheckt'; 
-$mip_form['0']['option_desc']['2'] = 'Checkbox 3'; 
-$mip_form['0']['option_var']['2'] = 'MOD_VAR[2]'; 
-$mip_form['0']['option_val']['2'] = $dedi_mod['value']['2']; 
-$mip_form['0']['option_val_select']['2'] = 'gecheckt'; 
-$mip_form['0']['tab'] = '0'; 
-mip_formsp($mip_form['0']);+ <nowiki>$mip_form['0']['cat'] = 'chk';
 + $mip_form['0']['type'] = 'chk_long';
 + $mip_form['0']['desc'] = 'Auswahl:';
 + $mip_form['0']['chk_var'] = 'MOD_VAR[4]';
 + $mip_form['0']['chk_val'] = $dedi_mod['value']['4'];
 + $mip_form['0']['option_desc']['0'] = 'Checkbox 1';
 + $mip_form['0']['option_var']['0'] = 'MOD_VAR[0]';
 + $mip_form['0']['option_val']['0'] = $dedi_mod['value']['0'];
 + $mip_form['0']['option_val_select']['0'] = 'gecheckt';
 + $mip_form['0']['option_desc']['1'] = 'Checkbox 2';
 + $mip_form['0']['option_var']['1'] = 'MOD_VAR[1]';
 + $mip_form['0']['option_val']['1'] = $dedi_mod['value']['1'];
 + $mip_form['0']['option_val_select']['1'] = 'gecheckt';
 + $mip_form['0']['option_desc']['2'] = 'Checkbox 3';
 + $mip_form['0']['option_var']['2'] = 'MOD_VAR[2]';
 + $mip_form['0']['option_val']['2'] = $dedi_mod['value']['2'];
 + $mip_form['0']['option_val_select']['2'] = 'gecheckt';
 + $mip_form['0']['tab'] = '0';
 +
 + mip_formsp($mip_form['0']);</nowiki>
-[Radiobutton] +[Radiobutton]<br>
-[Beschreibung] [Checkbox x1] [Checkboxbeschreibung x1]+[Beschreibung] [Checkbox x1] [Checkboxbeschreibung x1]<br>
- [Checkbox x2] [Checkboxbeschreibung x2]+ [Checkbox x2] [Checkboxbeschreibung x2]<br>
 + 
Beispiel: Beispiel:
-$mip_form['0']['cat'] = 'chk'; 
-$mip_form['0']['type'] = 'radio_long'; 
-$mip_form['0']['desc'] = 'Radiobuttonbeschreibung:'; 
-$mip_form['0']['radio_var'] = 'MOD_VAR[4]'; 
-$mip_form['0']['radio_val'] = $dedi_mod['value']['4']; 
-$mip_form['0']['radio_user_val'] = 'wenn_gleich_radio_val_dann_aktiviert'; 
-$mip_form['0']['radio_val_default'] = ''; 
-$mip_form['0']['option_desc']['0'] = 'Checkbox 1'; 
-$mip_form['0']['option_var']['0'] = 'MOD_VAR[0]'; 
-$mip_form['0']['option_val']['0'] = $dedi_mod['value']['0']; 
-$mip_form['0']['option_val_select']['0'] = 'gecheckt'; 
-$mip_form['0']['option_desc']['1'] = 'Checkbox 2'; 
-$mip_form['0']['option_var']['1'] = 'MOD_VAR[1]'; 
-$mip_form['0']['option_val']['1'] = $dedi_mod['value']['1']; 
-$mip_form['0']['option_val_select']['1'] = 'gecheckt'; 
-$mip_form['0']['option_desc']['2'] = 'Checkbox 3'; 
-$mip_form['0']['option_var']['2'] = 'MOD_VAR[2]'; 
-$mip_form['0']['option_val']['2'] = $dedi_mod['value']['2']; 
-$mip_form['0']['option_val_select']['2'] = 'gecheckt'; 
-$mip_form['0']['tab'] = '0'; 
-mip_formsp($mip_form['0']);+ <nowiki>$mip_form['0']['cat'] = 'chk';
 + $mip_form['0']['type'] = 'radio_long';
 + $mip_form['0']['desc'] = 'Radiobuttonbeschreibung:';
 + $mip_form['0']['radio_var'] = 'MOD_VAR[4]';
 + $mip_form['0']['radio_val'] = $dedi_mod['value']['4'];
 + $mip_form['0']['radio_user_val'] = 'wenn_gleich_radio_val_dann_aktiviert';
 + $mip_form['0']['radio_val_default'] = '';
 + $mip_form['0']['option_desc']['0'] = 'Checkbox 1';
 + $mip_form['0']['option_var']['0'] = 'MOD_VAR[0]';
 + $mip_form['0']['option_val']['0'] = $dedi_mod['value']['0'];
 + $mip_form['0']['option_val_select']['0'] = 'gecheckt';
 + $mip_form['0']['option_desc']['1'] = 'Checkbox 2';
 + $mip_form['0']['option_var']['1'] = 'MOD_VAR[1]';
 + $mip_form['0']['option_val']['1'] = $dedi_mod['value']['1'];
 + $mip_form['0']['option_val_select']['1'] = 'gecheckt';
 + $mip_form['0']['option_desc']['2'] = 'Checkbox 3';
 + $mip_form['0']['option_var']['2'] = 'MOD_VAR[2]';
 + $mip_form['0']['option_val']['2'] = $dedi_mod['value']['2'];
 + $mip_form['0']['option_val_select']['2'] = 'gecheckt';
 + $mip_form['0']['tab'] = '0';</nowiki>
 +
 + mip_formsp($mip_form['0']);
===Hidden=== ===Hidden===

Version vom 20:50, 11. Aug. 2004

Persönliche Werkzeuge