Posts

Showing posts from November, 2022

Technical Tip 4: Change Label Color & Label Text in Form

  In this section, we will see how to change the color and text of a field in ARAS Forms Use Case: "User wants to change the color and text of a field based on certain properties" You can use below code snippet to achieve this functionality Hook: This method should be attached to any item type form On Load Event var field = document.getElementsByName("name")[0];  var label = field.getElementsByClassName("sys_f_label")[0]; label.style.color = "red"; label.style.innerHTML = "Changing Field Label"; LinkedIn: https://www.linkedin.com/in/gobikrishnanraja/