Need to highlight the field when changed the value

Hello All,

I have the below requirement and need your inputs.

Screen is having dropdown values, Text box and Date fields. These all details are from one table. When I have changed the values in dropdown or textbox or date fields it should be highlighted in either the way.

Eg: Designation drop down - Earlier it was Software Engineer and now i changed to Senior software engineer. Then the field should be highlight and show value has been updated.

Really appreciate your quick response.

My thought was need to show one icon field and when the value changed icon will be displayed and when mouse hover over it will show as value has been changed.

Highlighted one is only my thought. Please provide me if we have any other way also.

  Discussion posts and replies are publicly visible

Parents
  • since the oy way to highlight these input fields is to use the validations. please try the below approach if it's okay to use the validation highlight.

    1. Save the initial value shown in the input components in a local variable(s) (say, local!original value) and make sure that all refresh is false.

    2. Use a different local variable (say, local!current value) in the saveInto of these input fields

    3. Compare the two local variables to through a validation if those are different.

    4. Makesure that you use the validation groups to skip these validations during form submission

    Note: The only drawback of this approach is that you may not be able to add any other proper validations to this field.

    -Raghu

Reply
  • since the oy way to highlight these input fields is to use the validations. please try the below approach if it's okay to use the validation highlight.

    1. Save the initial value shown in the input components in a local variable(s) (say, local!original value) and make sure that all refresh is false.

    2. Use a different local variable (say, local!current value) in the saveInto of these input fields

    3. Compare the two local variables to through a validation if those are different.

    4. Makesure that you use the validation groups to skip these validations during form submission

    Note: The only drawback of this approach is that you may not be able to add any other proper validations to this field.

    -Raghu

Children