cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
EmployeeOcta
Helper III
Helper III

How to set default value to customer field

Hello All Experts,

I have a regarding field on the case form. i need to set default value to it but it's not getting set.

 

I have created metadata record for entity form and selected Form Attribute as accountid  i am not sure whether it is correct or not, but i need to set default value on form load and it's not getting set.

 

any help will be appreciable.

1 ACCEPTED SOLUTION

Accepted Solutions

Hello All,

I have change the control type to dropdown and then in the additional settings of the entity form write down a simple jQuery and work is done.

View solution in original post

4 REPLIES 4
OliverRodrigues
Super User
Super User

Hi, can you share snapshot of both your entity form metadata and the form/page itself?

 

a few things you can check:

  • have you cleared the cache?
  • is the field present in the form/visible?



If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Pages Super User | MVP


Oliver Rodrigues


 

Please find below metadata screenshot.

EmployeeOcta_1-1604376138412.png

EmployeeOcta_2-1604376184818.png

EmployeeOcta_3-1604376247647.png

EmployeeOcta_4-1604376294648.png

 

EmployeeOcta_5-1604376343002.png

 

Validation section does not contains anything. and one by one i have taken screenshot and then added over here. i hope you will understand it.

 

Please find below form/web page.

Regarding field itself is internally customer field.

 

EmployeeOcta_0-1604375971641.png

 

Hi, can you try changing the Type to Value

 

if you want the Set Value on Save option, you also need to tick the box Set Value on Save




If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Pages Super User | MVP


Oliver Rodrigues


 

Hello All,

I have change the control type to dropdown and then in the additional settings of the entity form write down a simple jQuery and work is done.

Helpful resources

Announcements
Carousel Community Blog

Check out the Community Blog

Read all about the most recent blogs in the community!

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Carousel News & Announcements

What's New in the Community?

Check out the latest News & Events in the community!

Users online (4,550)