On form submission - I receive this Error - Cannot read properties of undefined (reading 'value')

Hi I am new to Plumsail and I have put a public form together and I an receiving this message when I click to submit the form. Please could someone assist me with whey this happens and how to fix this problem.

image

Many thanks

Hi @Nigel_Foot ,
probably you try to fill in data to a field which is not present on the canvas.
Typical example is when you have this code:

  fd.spBeforeSave(() => {
    fd.field('Title').value = 'This is a new Title';
  });
})

Give it a try.
Stepan

@StepanS Hey,

Thanks for your suggestion - I found that remarking out the default example code put into the js coding resolved the error.

Many thanks - have a good day!

1 Like