1, dynamically change the field of the form
If you increase, delete or modify one or some fields of the form, embed the delete, add, setValue properties through the XForm's TRIGGER element:
Remove Current Item XForms: Label> Add an item xforms: label> 0 XForms: setValue> < XForms: setValue Ref = "Order / SOAPS / ITEM [INDEX ('SOAPLIST')] / Flavor> P XForms: setValue> 0.00 XForms: setValue> XForms: action> XForms: Trigger>