Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Bug list  »  Bug #285

Viewing Bug Advanced Details [ Jump to Bugnotes ] [ Bug History ] [ Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000285 core / field option feature N/A 2004-11-28 10:49 2004-11-28 21:05
 
Reporter hbernard View Status public  
Assigned To
Priority low Resolution open Platform PC
Status new Duplicate ID OS (Server) Linux Mandrake 9.1
Projection none Version Builtin
ETA none Product Version
  Product Build
  Votes 1
 
Summary submitOnChange property
Description No patch for now, just to keep the idea.

In some forms, you may want to enable/disable/display/hide some fields according to the input of the user in another field _at run time_
There is a need to reload the form when a value of a specific field changed, using the onChange js propertie.
Steps To Reproduce
Additional Information / Solution API could be
...
'on_change|C' => Array( 'submit' => 'morechange', 'value' => 'Apply'),
...
where 'value' should be untranslated

and the JS (generated) call should look like :
<INPUT ........ onChange="return PME_js_submit_special(this, 'morechange', 'Appliquer');">
(Appliquer is the french translation of Apply)

and the generic JS func should look like :
function PME_js_submit_special(theform,key, val) {
theform.("PME_sys_"+key).value = val;
theform.submit();
}

API could be further extended with 'custom' JS code.
 
System Description
Attached Files

There are no notes attached to this bug.

Bug History
Date Modified Username Field Change
2004-11-28 10:49 hbernard New Bug
2004-11-28 21:05 hbernard summary submitOnChange propertie => submitOnChange property

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy