Hi
I want my field to be hidden when creating a record but if editing the record I want the field to be visible. How do I do this?
Please help.
Hi
I want my field to be hidden when creating a record but if editing the record I want the field to be visible. How do I do this?
Please help.
This one did it for me. Thank you
Hi,
As everyone said,
You can use Business Rule to Show/hide the field as shown below:
CreatedOn does not contains data refer to "Create" mode.
Another way is to use the JAVSCRIPT as shown below:
function showHideField() {
var formContext=executionContext.getFormContext();
if(formContext.ui.getFormType() == 1) {
formContext.getControl('fieldname').setVisible(false);
}
else {
formContext.getControl('fieldname').setVisible(true);
}
}
Thanks,
Pradeep.
Please mark this as VERIFIED if it helps
Hi,
Here is an example field called "Invisible when creating" and you can create a business rule for it.
As the Case Title is a required field, it can be set as a condition to determine if the custom field is shown or not.
The business rule can be something like:
Then save and activate the rule.
After inserting the field into the form, when creating a record, it is shown as:
When updating an existing record, it is shown as:
Hi cam64,
You can do it by js, use getFormType it will give you the form type of record. for more reference see the below link:
Hi ,
Open Dataverse/CRM System --> click gear icon at the top --> then select Advance Settings --> then select customisation then Customize the system --> then Click Entries --> Expand Entities --> select the entity where you want to perform the operation --> then Expand and select Business Rules --> then click New
Write Codition as
If Created on Contains Data
Then
Visible field
Else
Don't visible
Plase make as answer if it's helpful.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156