Is it possible to program an action button to trigger another action button using MEL? I know you can do it if you just use the "SET VALUES" option, but I need it to be dynamic. ie if document variable 1 == this and document variable 2 == that, then trigger action button x
Could you use visibility regions to stack the set value buttons, using the visibility rules to show the correct button?
You could try it with MEL... When you put a 2 Set Value buttons on a form and have one click the other you end up with this in the EFM file:
ButtonFieldTemplate 4 8 721 32 [{fn07361167872458696941()}][][][][button 11][0][4102][Arial:8:][0][]
ButtonFieldTemplate 4 36 721 60 [{fn07361167872458696942()}][][][][button 2][0][4102][Arial:8:][0][]
And this in the XLW:
{/*WATCHER EXPRESSIONS*/}
{
fn fn07361167872458696941(){
}
fn fn07361167872458696942(){
fn07361167872458696941()}
}
You could use MEL to call the function of the button you want to press. Just make sure the name doesn't change when saving different versions.
Are you able to give a little more information as to what you want these buttons to do and when?