Again, good to have you around.
Ah, and so the action function definition is in "include/utils/utils.php" or "include/utils/CommonUtils.php". These functions return one value at a time I'm guessing? So for let's say a hook that fills out address fields on account selection in (for instance) an Invoice or SO we'd have to write some additional javascript that hooks into the selection of an autocomplete function?
I'll do some exploring and see if I can set up a testcase.
I checked a UI10 field (for salesorder selection on an invoice), the HTML looked like:
I could get the module name from the hidden input field name, but I don't see the fields you were talking about. Am I checking the wrong place or the wrong fieldtype?
Ah, and so the action function definition is in "include/utils/utils.php" or "include/utils/CommonUtils.php". These functions return one value at a time I'm guessing? So for let's say a hook that fills out address fields on account selection in (for instance) an Invoice or SO we'd have to write some additional javascript that hooks into the selection of an autocomplete function?
I'll do some exploring and see if I can set up a testcase.
I checked a UI10 field (for salesorder selection on an invoice), the HTML looked like:
Code:
<input name="salesorder_name" readonly="" style="border:1px solid #bababa;" value="" type="text">
<input name="salesorder_id" value="" type="hidden">
<img src="themes/MajorLabel/images/select.gif" alt="Selecteer" title="Selecteer" onclick="selectSalesOrder();" style="cursor:hand;cursor:pointer" align="absmiddle">
<input tabindex="" src="themes/images/clear_field.gif" alt="Leegmaken" title="Leegmaken" onclick="this.form.salesorder_id.value=''; this.form.salesorder_name.value='';return false;" style="cursor:hand;cursor:pointer" type="image" align="absmiddle">
I could get the module name from the hidden input field name, but I don't see the fields you were talking about. Am I checking the wrong place or the wrong fieldtype?