Hi @wsfrank
you’d be looking at some javascript to make it happen (same story as in CRM itself). We don’t do any filtering for the optionsets.
The other option is to create a custom form with the fields bound by name. You can then provide any subset of options you want.
{% form ...%}
<form>
<select name="foo_fieldname" ... <--- here
{% endform %}
HTH
George
Thanks for the tip George. I have a bit of javascript on the form that limits the options, but that of course doesn’t translate into the plugin here.
I didn’t see anything in the documentation about adding jscript to the plugin code. Can you point me to an example or resource that would get me started? Thanks
@wsfrank
that wouldn’t be specific to our plugin. What I meant is that we emit something like <select name="foo_optionset"> html tag. You can add a javascript to that page (either directly or as an external file) and that script would locate this element and trim its content as required.
HTH
George