Forum
Need details regarding SCRIPT- PHASES (Always,Render,Update,Validate and Process)
Forum > Ask Anything > Need details regarding SCRIPT- PHASES (Always,Render,Update,Validate and Process)





Was Trying to set a particular value in a dropdown-list as the default selected one based on some condition. Have added a Script in the screen to add the logic and have set it to 'Update' Phase,but was finding that the script logic was not getting executed and thats why the value which I was trying to set as the default value of the drop-down is not getting set, I found that whenever Iam changing the PHASE to say 'RENDER' or 'ALWAYS' my script is getting called and it is setting the default value properly, but the problem with these phases(RENDER,ALWAYS) is that every time I am trying to change the default value of the dropdown to say some other values, the script seems to be running every time on change of the drop-down values and setting the value back to the default one that was set in the SCRIPT component. Need to know which phase should i use in my script function so that initially it sets some required default dropdown value but later user can have the ability to change it to some other value, details regarding different phases and when one should use which one would also help immensley.





