Description
Marks
the beginning of a series of SetFieldValue calls.
You
can use this method to mark the beginning of a group of calls to SetFieldValue You can later call GetFieldsUpdatedThisGroup to
track which fields were updated. This technique is useful for web-based systems
where you might need to track any changes to the fields in a form. For example,
if the user moves to another web page, you can call the GetFieldsUpdatedThisGroup method to save the current state of the form and restore it when
the user returns to that page.
Syntaxe
VBScript
entity.BeginNewFieldUpdateGroup
Perl
$entity->BeginNewFieldUpdateGroup();
- Identificateur
- Description
- entity
- Objet Entity représentant un enregistrement de données utilisateur. Si vous omettez cette partie de la syntaxe au sein d'un point d'ancrage, l'objet Entity correspondant
à l'enregistrement de données en cours est faux (VBScript uniquement).
- Return value
- Aucune.
Exemple
VBScript
BeginNewFieldUpdateGroup
SetFieldValue "field1", "1"
SetFieldValue "field2", "submitted"
SetFieldValue "field3", "done"
updatedFields = GetFieldsUpdatedThisGroup
' Iterate over all the fields that changed
For Each field In updatedFields
' ...
Next