Discussion
Setting default property / value of a text box on form
I'll preface this with I'm pretty new to PEGA in general. I have dabbled with it but am pretty useless in it. What I'm trying to accomplish is setting a default value for a field (textbox) on my initial form and I'm not finding any way to do that. I can set it to an existing property, but if I want to set it to a hardcoded string or number I can't seem to do that, nor can I figure out how to set a property to that string (or number) ahead of time so I can use that property to set the default value.
Any thoughts?
Thanks,
Jay
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Hi Jay,
This is posted in the Express forum so I am going to assume you are using Express. There is no way to do this directly from Express, you need to access the Designer Studio, navigate to the section you want to edit (App Explorer is a good way to do this), then open the section rule that you want to change.
Click on the cell in the section you would like to configure. You'll see a gear you can click to open the cell's property panel. For input controls, the General tab of the property panel has a Default value option where you can do what you are describing.
Here is the related help topic for text inputs:
https://pdn.pega.com/sites/pdn.pega.com/files/help_v72/procomhelpmain.htm#rule-/rule-html-/common/commonlayoutpxtextinputSP2.htm#General
Thanks,
Dennis