Crow Canyon Software Forum
Is it possible to update a field from another field via Javascript?
Quote from skigeek on January 7, 2025, 12:57 pmI have a field that changes and then i have a javascript that does some activity. if that activity is ok it retrieves data from a fetch list items and I want to update another field on the screen. Not sure how to do it. I know how to retrieve data from other fields, how to get and retrieve variables, but updating fields is a mystery. I have tried
window.ccs_g_FormUI.setColumnControlValueByName("City”, "This is a test"); Nothing happens... Any diretion would be greatly appreciated.
I have a field that changes and then i have a javascript that does some activity. if that activity is ok it retrieves data from a fetch list items and I want to update another field on the screen. Not sure how to do it. I know how to retrieve data from other fields, how to get and retrieve variables, but updating fields is a mystery. I have tried
window.ccs_g_FormUI.setColumnControlValueByName("City”, "This is a test");
Nothing happens...
Any diretion would be greatly appreciated.
Quote from supportTeam on January 9, 2025, 6:47 amHi Archie,
It seems you have used a special character as a double quote, Make sure the double quotes around 'City' are regular quotes and not special characters
Use the below syntax and try again
window.ccs_g_FormUI.setColumnControlValueByName("City","This is a test" );
Hi Archie,
It seems you have used a special character as a double quote, Make sure the double quotes around 'City' are regular quotes and not special characters
Use the below syntax and try again
window.ccs_g_FormUI.setColumnControlValueByName("City","This is a test" );