I try to calculate a date within an repeating section. If the condition is fullfilled, the value is the current date.
Otherwise the calculated should keep the old date.
How could I build this with standard Nintex functions?
I already defined a function that way. Now the problem is to save the old date for n different values in n items from the repeating section.
So the most important question is:
How could I save the old dates? (it is not possible to save single values in a list column, only the xml of the complete repeating section)
I develop with Nintex Forms 2010 for SharePoint 2010.
could you explain what the 'old date' in fact is?
where do you get it from?
when/how does it change?
I understood it first that you want to use calculated value control which should either get value of other date control or current date.
I can only use a calculated value. From a date field you can't get values from other controls inside the repeating section.
The calculated does not save it's data... so it's also no solution.
Furthermore I don't how to grab the data within the repeating section with the central managed js code from the Nintex Form.
The calculated does not save it's data
have you tested it?
calculated value control stores its data
I'm not aware of an tutorial but if you search through the forum you will definitely find several different topic.
eg. one of them Having fun with Date / Time in Nintex Forms
Sorry, I have not expressed myself clearly.
When the calculated value will be calculated when the form ist loaded I see no possibility to access the old value.
An example within a calculated value: (field B is the calculated value)
If field A is true
then calculate field B new
else no calculation in field B (let old value)
I hope there is a possibility