


I guess this is more of a best practices kind of question.
Views
Replies
Sign in to like this content
Total Likes
Hi Jono,
I would normally null the field when it is hidden.
Depending on how the data is being submitted, you could go for something like this in the preSave or preSubmit event of the field:
if (this.parent.presence == "hidden")
{
this.rawValue = null
}
Structure would depend on what you are hiding and how many objects you have. Also a specific resetData(), targeting particular objects could be used instead of the .rawValue=null.
Good luck,
Niall
Message was formatted and edited by: Niall O'Donovan
Views
Replies
Sign in to like this content
Total Likes