when I click on that card(+) the same card should be added below. value should be saved in single table. (Without using record action).
Discussion posts and replies are publicly visible
Hi!The easiest solution would be to simply use an a!forEach over the list of cdt/recordType of the card (i suggest to put it into a dedicated object). Whenever you press the + card you should append to the current rule input an empty row of the datatype (e.g. type!CDT() or recordType!REcord())
How can I store multiple values in a single table, We have used array type but the same data reflecting in the newly added section
Sorry, i don't understand. Does the section use different tables?If so justuse related record, or create a Complex Type with your sub CDT in that if that's not applicable.
No, we are using only single table.
So what seems to be the problem?
I have a form, when I click on the (+) button the same form needs to display (under the first form) and the two forms data should be stored in one table only and we used rule input as record data type (not CDT). How to do that without using related actions. so this is the form:
In short, for a senior developer:
- make the rule input a list
- wrap the existing card in a foreach that iterates on the rule input
- modify the fields to use fv!item
- the "+" appends a new record item to the rule input.
Unknown said:In short, for a senior developer
Agreed, anyone versed enough in development to have that certification ought to know the stuff you've enumerated by this point, unless there's some extra difficult subtlety to this particular case that they've thus far managed to not put into any of their replies.