Use a table in a form as dynamical option list for another field of the same form

Hello,

My problem seems to be simple but do not work for me.

First : my form have a table called F_ressources with name (F_ressource_name), mail (F_ressouce_mail) and other fields: user fill first this table in form.

Second : I want to use the name's list that are in table F_ressources as options for response in another field of the form named F_designation.

I think it is possible to do it simple with a script in beforeOptionsUpdate of F_designation but how ?

Thank you for your help,

Michel

Great question.

Yes this can be done by using a table search service. The trick though is that the search service will only work if the record - with the table entries - has been saved.

So what you could do is have an event which saves the form after the table entries have been added and display the form in next stage. If you delete the success message - the save can happen without the user noticing it.

This setting can be found on the Form Properties / Advanced tab.