dominodeviant
08-14-2007, 08:40 AM
Hi,
I am trying to make use of Ext.nd.Form mostly because I really really like and appreciate the actionbar that is generated from the forms actions/subactions.
What I now notice is that this also highly affects the fields and common JS functionality around them.
For istance say that I have a Dialog list in the form that is named 'myDiag'.
If I then call the below JS it most certain won't alert the selectedindex (as it used to):
var frm = window.document.forms[0];
var ind;
ind = frm.myDiag.selectedIndex;
alert(ind);
Is there a way to possibly get and use
ind=frm.myDiag.selectedIndex;
var minprocess = frm.myDiag.options[ind].text;
with the fields that Ext.nd.Form generates?
If the answer is yes,then how?
If the answer is no,can I disabled the field generation of Ext.nd.Form and "only" make use of the generated action bar ?
I am trying to make use of Ext.nd.Form mostly because I really really like and appreciate the actionbar that is generated from the forms actions/subactions.
What I now notice is that this also highly affects the fields and common JS functionality around them.
For istance say that I have a Dialog list in the form that is named 'myDiag'.
If I then call the below JS it most certain won't alert the selectedindex (as it used to):
var frm = window.document.forms[0];
var ind;
ind = frm.myDiag.selectedIndex;
alert(ind);
Is there a way to possibly get and use
ind=frm.myDiag.selectedIndex;
var minprocess = frm.myDiag.options[ind].text;
with the fields that Ext.nd.Form generates?
If the answer is yes,then how?
If the answer is no,can I disabled the field generation of Ext.nd.Form and "only" make use of the generated action bar ?