Jump to content

bcjks

Members
  • Posts

    2
  • Joined

  • Last visited

Reputation Activity

  1. Thanks
    bcjks reacted to KlisaN137 in Event Listener to update Datapage with lookup Table changes   
    Hi @bcjks
    If you want to update some other field when the Cascading field for email updates, you can use 'change' EventListener. Just add another HTML Block, and use something like this:
    <script> const emailCascField = document.querySelector('input[name="cbParamVirtual1"]'); //Your email field emailCascField.addEventListener('change', (e)=>{ const anotherField = document.querySelector('input[name="EditRecordOtherFieldName"]'); //Field you want to populate anotherField.value = emailCascField.value; }); </script>  
×
×
  • Create New...