I have form with repeating table (columns - Date, Amount, Type and Percent). Amount field is calculated based on the Type and Percent. So for each new row inserted after 1st row the new amount is amount (from previous row) * percent (from previous row) * value (depends on type - from previous row) ....... i have used preceding-sibling in my ...