Hello,You can write the following script in the click event of the radio buttonto make the TextField or the DropDownList mandatory and visible when the radio button is clicked and text field / dropdown not to be mandatory when it is hidden.if (this.rawValue == 1) { TextField1.presence = "v...
Hello Srinivas,Instead of writing this.ui.#textEdit.border.fill.color.value = "192,192,192";You can try with this i.e.this.border.fill.color.value = "192,192,192";Thanks,Debadas.
Hello,You can restrict the addition of new rows into the tableby writing the script in Add button i.e if you dont require to addrows more than 5 then,if ( _Row1.count < 5 ){ Table1.Row1.instanceManager.addInstance(1);}Thanks,Debadas.
Hello,There is no selector mechanism available for the Date/Time field.There is not build in function to pick up a time.You can create a time field, that updates the time every time.So it works similar like a timestamp.Put this FormCalc script into the layout:ready event of the field.$ = Num2Time(ti...
Hello Srinivas,Sorry there is no setting at form level in case of drop down.So the only option is scripting.And the only option is we can do this in "FormCalc" languagebecause we have to perform the string operation into the item value.So by using the Left( ) string function, this is possible.Thanks...
Hello Srinivas,You can allow maximum three characters within the dropdown listi.e after selecting a value from the drop down, the drop down field will contain the value of three letters, by writing the following script in "FormCalc" language of "exit" eventDropDownList1.rawValue = Left(DropDownList1...
Hello Srinivas,You can overide the entry of drop-down list by:selecting the "Allow Custom Text Entry" box of the field tab of the object paletteof that drop-down list.Thanks,Debadas.
Hello Srinivas,You can change the default height of the Textfield by writing script.So, in the "docReady" event of the TextField write the scriptTextField.h = "0.5in";Thanks,Debadas.
Hello Srinivas,'$record' - actually means current record of a collection of data, such as from an XML file.For example, $record.header.txtOrdered references the txtOrdered node within the header node of the current XML data.And xfa is a very typical thing used in LiveCycle Designer so follow the ...