Input fields hold previous values only if validation failed on object level

  • 1
  • Question
  • Updated 2 years ago
We have built a from on skuid to save data to a Custom object in salesforce, this save action is happening on a button click which initiates javascript snippet and internally uses skuid API methods skuid.model.save. 

    On performing click action on the button , if any validation fails on the object level the same error will be displayed on the page.But here we are facing the problem like after getting the error we are updating the related field and submitting to save again, but on the second action also it is taking initial value given on the field but not the updated field value.

    Is there any setting's available on SKUID level to come out of this issue?
Photo of rajasekhar reddy

rajasekhar reddy

  • 282 Points 250 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Velvel Marasow

Velvel Marasow

  • 452 Points 250 badge 2x thumb
Is the second save() call in the callback (or using promises) of the first one?