Notes element is not editable on form create

farinacci

Member
Hello all,

i have create list A_notes with id, datetime, foreign_key, notes

then in the list B i create element "notes" and join the list A_notes.

Everything work well but, when create a new record on list B, note element is disable...
work only in update.
Why ? I can resolve this issue ?

Grazie
 
It's by design. Because notes are created using AJAX calls to the server from the form, ie. they happen as the user adds the note, not when the form is submitted (when the rest of the form data is processed), we need to know the row id (PK) of the form's record, to insert into that 'foreign_key' (FK) field in the notes table, so we know which form row the note belongs to. A new form doesn't have a row id until after it has been submitted. So you can only add notes to rows you are editing, where the row id is known.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top