Not To update previous Rows in a table

Will the unique filed will do the validation ,but the problem is when the first user is inserting the fields are…


And when the second user is verifying
it is updating the previous rows values …although it didn’t saving but i don’t want to update the previous rows …please help me with these …And by default it is raising an error for the duplcate values for the fields in the child table …
The code is given below…

Thank you

Can any one please reply me…I am not getting any other thoughts

why dont you try

frm.add_child('details', {
  name: r.message['full_name'],
  email: r.message['email'],
  phone: r.message['phone'],
})
frm.refresh_field('details')

Thank you… You solved the problem in just a minutes…
Thank you once again…

1 Like