You can use the fields in the form to compute the amount payable. Ratufa can understand simple Javascript code that can calculate the amount payable from the form fields.
For example, suppose your form has a quantity field. The total amount payable is quantity × 21.32
The code to compute the amount payable is:
function computePayment(fd){
return ( fd.quantity * 21.32 )
}
Remember that the function should be valid JavaScript code.