Kentico 9 BizForm validation/visiblity rules - kentico

I'm building out a custom page type. I have two fields, Name and File, and i'm hoping to accomplish the following:
File is not visible or active until Name is filled out.
If Name has a value, then File is required.
I don't see an option to make a field required if another field has a value.

To make the File field appear when the Name field is set:
On Name field, check has depending fields.
On the File field
check depends on another field.
set visibility condition, to Name.Value != ""
You can't check required on File, but you can set a validation rule that checks if it is null, that validation only runs if the field is visible.
See Field editor reference scroll down to Field advanced settings for more details on the Visibility condition.

Related

SharePoint Online: Un-Requiring a Required Field

I have a few fields that were required inputs when we created the SP list, but no longer need to be required when the new item is added. I'm using two custom content types in this list and have flipped this field to optional in both of them. The form no longer shows these fields as required until the user tries to enter the item and gets the error
.
When we try adding new items via quick edit or add/edit items through Power Automate we're hitting the same error, where SP is treating these fields as required. Does anyone know how to fix this, or what might be causing the mismatch?
When you create a custom content type with site columns, there are two places where you can make a column mandatory.
1. via the Content Type
List settings > click the content type > click the column > select Required or Optional
You can also get to this setting via Site Settings > Site content types > click the content type > click the column.
2. via the Site Column
This is a different setting that you can access via Site Settings > Site Columns > click the column
These second setting will override the "Optional" of the first setting, i.e. if the setting in the second screenshot is set to "Yes", then the column will be mandatory, even if the option in the first screenshot is set to "Optional".

Netsuite custom field does not display data in search results

I'm new to Netsuite, so please bear with me. I have created a saved item search that is working fine with one exception; one of the result columns I have chosen is not displaying data in the returned rows. This is a custom field created by our old Netsuite Administrator and it does display data on an item record, just not in search results. I've done some searching and thought I found the problem when I read another post that said that "Global Search" and "Show In List" needed to be checked on the custom field. I did that, but the search results still do not display any data for that column.
The field is a custom item field of the type decimal number. Store value, show in list and global search is checked. The field is applied to inventory items, non-inventory items, kit/package and assembly/bill of materials. What am I missing? TIA
I suspect the field has field level access permissions. Go to the field definition and click the 'Access' tab. The 'Default Level or Searching/Reporting' should be at least 'Run'.
Global Search on a field makes it so if you enter a value in the Global Search bar that matches the field's value for an item then that item will be shown as a possible match. It has nothing to do with your issue. Neither does Show in List.

Changing the Type of the Custom field

How can i change the Type of the Custom field in Acumatica?
I created a new custom field of "ComboBox" Type for the Sales Order Header Section.Now i would like to change its type to "TextEdit" so the user can manually enter any value in it. So far there are only few Sales order where user has entered the value in this field.
Thanks
Combo boxes are stored in string fields in the database - you can therefore easily replace the control on the page with a text edit field. The simplest way is to remove the combo box from the layout editor, and then adding it back as a text box from the "Add Data Fields" tab. If you want to modify the properties of the field itself, you have to go to the Data Access section and modify the attributes of the field (PXDBString + remove PXStringList attribute if you have one). Lastly, if this is a field you were creating as part of your customization project, you might have to manually edit the Table node of the project XML (File -> View Project XML)

Salesforce - Setting field to Read Only

I am having a dilemma changing a field from Read only. I have a custom field which is a fomula(Checkbox). Field level security is set to visible for all profiles and the Read only checkboxes are also checked for every profile. I am unable to de-select the Read only checkboxes. I tried changing the field from Read only in the layout but I can't seem to be able to uncheck that as well. What can I do about this? The field is set to Read only on my profile and I can't seem to be able to uncheck the Read only when I edit the profile.
Do I need an admin to change this setting?
Formula fields are always calculated, and therefore always read-only, perhaps you want the field to have a default value formula rather than a calculated value?

Liferay leave select-type custom field empty

I have some custom fields in Liferay which are displayed as selection lists. These fields are not mandatory so the user should be able to leave them blank. How can I achieve this? Now always the first value is selected by default. I tried to enter a blank line before the options in the "default value" field of the custom field configuration form, but it had no effect.

Resources