Sorry for been new in the QB forum... I was able to finality make it work, THANKS.
Prior to making my comment and using several of your pasties I was able to implement:
- the IOT and working with the generic code.
- the default form with the [-] field showing dfid=12, and 3 other forms to view/edit my records with (dfid=2,10,11)
No knowing much yet about QB API or jQuey, I was struggling to modify your code to point to my "Selector" field.
The field is [Form] with fid=234 (values of "V1", "V2" or "V3").
I plugged my field ID here:
clist: "6" -----> replace by "233"
The other tricky bit was this area of the code:
var phase = $("phase", xml).text();
if (phase == "Phase 1") {
I initially had (which did not work)
var form= $("Form", xml).text();
if (form== "V1") {
My code with NO CAPS works:
var form= $("form", xml).text();
if (form== "V1") {
If you try a field with a name that is 2 or more words it does not work...
Any reasons why????
Once again, thanks!!!!!!