On one of my forms, I need to have the user enter either a valid serial number or asset tag number from which I can retrieve an equipment record id from a different db table. Essentially, I need the functionality of a cascading dropdown element that can watch one of two different form elements instead of just the standard one.
My initial thought was to create 2 CDDs, one to watch each of the two text input elements to accomodate the database lookup and then to populate the 'Equipment ID' field with whichever CDD has the most recent update using a JS event. I have exposed the form fields in the attached image for reference.
I love it so far, but I am quite new to Fabrik and just haven't figured out how to make this work on my own. Any help would be much appreciated.
My initial thought was to create 2 CDDs, one to watch each of the two text input elements to accomodate the database lookup and then to populate the 'Equipment ID' field with whichever CDD has the most recent update using a JS event. I have exposed the form fields in the attached image for reference.
I love it so far, but I am quite new to Fabrik and just haven't figured out how to make this work on my own. Any help would be much appreciated.