When the user selects the home address field, the office address should be automatically disabled. On the other hand, when the user selects the office address field, the home address should be automatically disabled. How do I do it using Pega?
I need a Disable a particular input field. How do I do it using Pega?
359 Views Asked by Kasun98 At
1
There are 1 best solutions below
Related Questions in PEGA
- Implementation of Pega DX API in Android
- Performance testing PEGA application
- Data from Postgres Production DB to a postgres staging database
- pega-web-tomcat container not starting with | Problem during method invocation (doPostInner)
- I need to find the right age of the applicant using data transforms in pega
- Is there any pega function that should vanish the present appearing button and shows another button?
- I have following policy types how will be the RUTA script for it, by using which i will be able to extract complete policy number
- How do we add a "RS" symbol before the user input value? in PEGA
- setting up Validations for properties in a process category, Facing error while the code attached below
- This question regarding pega, I need to validate age property on client side,
- How to delete a table row from UI (Delete Button at the end of the each row) by primary key using activity in PEGA
- Failure opening rule instance pega
- Pega Unit Testing
- Which function to use to validate - input year should not be greater than the current year
- How I remove the comma separator in integer edit input?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

I can suggest two solutions
Hide Home Address and Office Address layouts by default.
Add one Radio button at top of the address layouts for example Address Type with values Office and Address. If user selects Office address type from radio button then display Office Address Layout. If user selects Home address type from the radio button then display Home address layout.
Instead of hiding layouts, you can disable the fields as well based on the selected radio button option.
Add Action set on click on the Office Address layout and Home Address layout.
On click of Home Address layout add
On Clickaction. AddSet Valueaction and set a flag property as.HomeAddressSelected = true,.OfficeAddressSelected = falseand addPost Value action afterSet Valueaction. AddRefresh Sectionaction ifPost Valueaction is not working.On click of Office Address layout add
On Clickaction. AddSet Valueaction and set a flag property as.HomeAddressSelected = false,.OfficeAddressSelected = trueand addPost Valueaction afterSet Valueaction. AddRefresh Sectionaction ifPost Valueaction is not working.Now add disable condition for each property under Home Address layout as if
.HomeAddressSelected == falsedisable the field. and add disable condition for each property under Office Address layout as if.OfficeAddressSelected == falsedisable the field.Try both of the solutions and see yourself which one is business users accepting.