I found a few posts showing how to set a form/parameter type to a radio button but for me, all I have is true/false or check box. Where is the radio button option when creating a form? How are groups of parameters set in the same radio button family so only one of the x number of choices can be selected?
If you have a parameter set as a multi-value list, you can change it to being radio buttons on an iLogic form.
i have a situation where i do have a 2015 form linked to a multi value prarmeter and it's only offering text bow and slider, no rradio button.
It sounds like your parameter is not set up as a multi-value list. Parameters that are not set as a multi-value list you can only chose between a text box and a slider. Multi-Value lists give you the option for Combo Box, List Box, or Radio Group
I had the same problem and figured out If you make your parameter a "Multi-Value List" AFTER you have it inserted on your form... delete it from your form then reinsert it. It should update. That's what I did and then it worked fine.
Hi bretrick,
Is it possible to add a radio button group to the form without having a parameter set up in the model?
I have a simple yes/no in a global form, that I don't necessarily want to have the parameter in the model files the rule will be run from.
Any assistance will be greatly appreciated.
TJ
Unfortunately the parameter/iProperty needs to exist in the open document otherwise it will appear as crossed out in the global form.
You may be better off creating an external form and having an iLogic rule display it. You can read about it in the link below.
https://adndevblog.typepad.com/manufacturing/2013/06/use-vbnet-dialog-in-ilogic.html
Thanks for the feedback @bretrick30 . I have confirmed with some other forum participants that the parameters need to be in place, when using the iLogic. Will have a look at the blog to see how else we can approach the matter.
Regards
Theo
Hello @tjvz85, did you find a way to add drop down to a global form without adding parameters? I am working on an application to populate the iproperties using global form with drop down. I want to use it on older files that do not have the parameters set up. It seems counter-intuitive to have a global form and not being able to add drop downs directly.
I actually found a way to create global forms with values independence of files you open. You can do it via VBA editor.
And add the values using code. An example for combo box is below.
Private Sub UserForm_Initialize()
ComboBox1.AddItem "abc"
ComboBox1.AddItem "1234"
ComboBox1.AddItem "sdfr"
End Sub
Nice, will test this.
We were not able to do the dropdown list/radio box without inserting the multivalue parameter into the fiel we want to fire our external rules from, via a global form.
We did write a short routine to "prep" the model, it just inserts the parameter we require.