Hidden fields not saving anymore?

I have this code that worked until recently but now doesn’t seem to save the data to the table on submit anymore? Any help please?

import { session } from ‘wix-storage’ ;

$w.onReady( function () {

function storeHiddenFields() {
let source = session.getItem( “utm_source” );
let medium = session.getItem( “utm_medium” );

 **if**  (source !==  **null** ) { 
     $w( "#input8" ).value = source; 
  }  **else**  { 
     $w( "#input8" ).value =  "NULL" ; 
  } 

  **if**  (medium !==  **null** ) { 
      $w( "#input9" ).value = medium; 
   }  **else**  { 
       $w( "#input9" ).value =  "NULL" ; 
   } 
} 
storeHiddenFields(); 

});

Juast wait a little bit, seems like WIX is UPDATING something.
This could be the reason, if it worked well all the time, and now breaks down.

Looking back to the form submission, we lack those input field values since the 27th of July. Basically those two are hidden fields, and the values “NULL” or the one from the session are not passed through on submit since then.

In this case, i would suggest to cantact Wix-Support.

https://support.wix.com/en/article/contacting-wix-customer-care-for-support

@russian-dima Thank you! :slight_smile: I will! :smiley: