Hello every one.
Very new to all this, but trying.
I have a form (payment info). It has a field 'AmountDue', and 5 payments. Then there is the field 'Balance' and 'Status' (see attached screenshots).
Now... I would like the following to happen:
Field 'Balance': Updated -> AmountDue minus the payments.
Field 'Status':
If 'Balance' = 'AmountDue' -> Display "Unpaid"
If 'Balance' < 'AmountDue' -> Display "Partial"
If 'Balance' = '0' -> Display "Paid".
How can I achieve this?! I've been going trough forums and other help-resources, but I can't figure it out.
Any advice is most welcome.
Thank you!
Chris
[imgnothumb]http://bytes.com/attachments/attachment/5993d1327856165/paid.jpg[/imgnothumb]
[imgnothumb]http://bytes.com/attachments/attachment/5994d1327856165/partial.jpg[/imgnothumb]
[imgnothumb]http://bytes.com/attachments/attachment/5995d1327856165/unpaid.jpg[/imgnothumb]
[imgnothumb]http://bytes.com/attachments/attachment/5996d1327857036/design.jpg[/imgnothumb]
Very new to all this, but trying.
I have a form (payment info). It has a field 'AmountDue', and 5 payments. Then there is the field 'Balance' and 'Status' (see attached screenshots).
Now... I would like the following to happen:
Field 'Balance': Updated -> AmountDue minus the payments.
Field 'Status':
If 'Balance' = 'AmountDue' -> Display "Unpaid"
If 'Balance' < 'AmountDue' -> Display "Partial"
If 'Balance' = '0' -> Display "Paid".
How can I achieve this?! I've been going trough forums and other help-resources, but I can't figure it out.
Any advice is most welcome.
Thank you!
Chris
[imgnothumb]http://bytes.com/attachments/attachment/5993d1327856165/paid.jpg[/imgnothumb]
[imgnothumb]http://bytes.com/attachments/attachment/5994d1327856165/partial.jpg[/imgnothumb]
[imgnothumb]http://bytes.com/attachments/attachment/5995d1327856165/unpaid.jpg[/imgnothumb]
[imgnothumb]http://bytes.com/attachments/attachment/5996d1327857036/design.jpg[/imgnothumb]
Comment