Hello All,
We are receiving a CDT and based on that we need to create a grid that can allow users to add rows. Now my CDT structure is like below
CDT : {Label,Value,InputType}
Where label defines the header to be displayed and InputType is an integer value which tells about a specific input type to be selected like textfield,paragraph field,user picker and so on.
Suppose I received below cdt
{Label:"NumberOfWords",
Value:"",
InputType:1
}
Now, As we need to give the facility to add new rows, I took another cdt having two fields. Namely
GroupNumber,
Information : {Array of type CDT1}
So after receiving the cdt I transforming the contents into above cdt and accordingly displaying the rows. Everything is working fine but when user enters values into multiple fields at a quick time then those values wipped out. Can someone please tell me what should be the solution here?
Discussion posts and replies are publicly visible
it seems your code is working fine as it save the value if you let it finish. you just need to optimize the code so it takes less time to save value and don't show "working" for long time. if you can share the code that will be helpful to understand.