January 11, 2011, 07:46 AM
Ramkumar - Webfous[SOLVED] Refresh Data in a Chained Input Element
I Have 10 input elements in a page. I designed it with HTML composer.
Out of 10, 2 are Multi Select List boxes which are populated dynamically using Fex code...
-*country.fex
TABLE FILE CAR
BY COUNTRY
ON TABLE PCHOLD FORMAT XML
END
car.fex
TABLE FILE CAR
BY CAR
WHERE COUNTRY EQ &COU
ON TABLE PCHOLD FORMAT XML
END
<SELECT id=combobox1 style="Z-INDEX: 36; LEFT: 360px; WIDTH: 280px; POSITION: absolute; TOP: 220px" tabIndex=18 multiple name=COU datatype="1" datafield displayfield datasource="country.fex" operation="OR" datafieldtype="INTIGER" addalloption="1" accept="0" ibiapp_app="SESSION baseapp" ibic_server sourcetype="typeFex" newchainnumber="0" chainnumber="0" inchainindex="1" cacheruntimedata="0">
</SELECT>
<SELECT id=combobox2 style="Z-INDEX: 37; LEFT: 360px; WIDTH: 280px; POSITION: absolute; TOP: 320px" tabIndex=19 multiple name=CAR1 datatype="1" datafield displayfield datasource="car.fex" operation="OR" datafieldtype="INTIGER" addalloption="1" accept="0" ibiapp_app="SESSION baseapp" ibic_server sourcetype="typeFex" newchainnumber="0" chainnumber="0" inchainindex="2" cacheruntimedata="0">
</SELECT>
I need to do a Reset for this two boxes alone on a button click. I cannot go for default RESET button because that will reset the entire form.
As I have worked out, a onClick event for an
January 11, 2011, 08:13 AM
Ramkumar - WebfousFound out a forum where I came across a JS command DoResetDownChainControls(ctrl);
That wokred fine for me... CLosing the thread....