How we get the custom component value into backend code

pankaj saxena asked on July 6, 2022 06:13

Hi team,

I have some requirement related to the adding the add product functionality to existing form where I need to add these component.

  1. one text box which hold the quantity of the product
  2. One drop down which hold the product
  3. One button where we click and getting the values from the quantity of the product & value from the dropdown and show the value into the grid view with the same form builder and we have to provide the inline editing on the gird view.

Question is :- We need to control the default button functionality to save the product details into the custom module not in the form recoreds.

Recent Answers


Liam Goldfinch answered on July 7, 2022 23:53

I would recommend looking at setting up a global event that listens for inserted form submissions.

There's an example on the Xperience 13 documentation here. You could store the data in a custom module at this point and delete the form submission.

For a full list of global events you can hook into, see here.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.