- Code: Select all
var form = solutionModel.newForm('someForm', 'db:/example_data/parent_table', null, false, 400, 300);
var label = form.newLabel('Green', 10, 10, 100, 20);
var field = form.newField('parent_table_text', JSField.TEXT_FIELD, 10, 40, 100, 20);
label.groupID = 'someGroup';
field.groupID = 'someGroup';
forms['someForm'].elements.someGroup.enabled = false;
Does anyone know how I can set the groupId in the form designer as the only way I can currently see to set it is by using the solution model and it would be far easier to do this at design time. Either it is not possible or I am staring straight at the solution and not seeing it!
Thanks
Steve