I have these fields that I need to send to clients when they file a request: Using canned responses with custom variablesCredit Note: %{ticket.credit_note}Amount: %{ticket.refundable_amount}Account #: %{ticket.account_no}Cheque #:%{ticket.refund_cheque}Payee:%{ticket.payee_name}Date Prepared:%{ticket.date_prepared}Prepared by:%{ticket.refund_prepareby}The result of the above fields are belowCredit Note: TEC12345Amount: %{ticket.refundable_amount}Account #: FC121212-ACheque #: %{ticket.refund_cheque}Payee: Test SolutionsDate Prepared: 11/18/2015Prepared by: Sunny Boy

Version of osTicket?Please help us to help you by reading and following the posting guidelines located in this thread: Please read before requesting assistance.  The more information you give us the better we will be able to assist you. Thank you.What builtin form are:refundable_amountticket.refund_chequeadded to?HAve you read this?http://www.tmib.net/osticket-19x-email-template-variables

Hi ntozier, basically I created a new custom form in the backend it's Request for Refund form, with those fields I mentioned above. I'm on osticket 1.9.12, basically on the help topic I selected the form I created as custom form. I have read your link before I tried that so for other fields  it doesn't have display problem when I put those query on the canned responses email. It can quickly show the values of the working fields. The rest which I expected to be displayed as numeric was not being shown at all. I also used the validator selector when I created those variables so for refundable_amount, I set the validator as number, I tried some other numeric fields but it also doesn't show. The refund_cheque, field is a special case because it's alphanumeric which normally  this call %{ticket.variablename} can display. I double check the fields and I'm expecting it to be correct as what is mentioned from your link. I'm not sure if I missed something or Is there some variables which I cannot re-use that is causing the errors when I created the form?. I hope my reply make sense . PHP version is 5.6 Credit Note: %{ticket.credit_note}Amount: %{ticket.refundable_amount}Account #: %{ticket.account_no}Cheque #:%{ticket.refund_cheque}Payee:%{ticket.payee_name}Date Prepared:%{ticket.date_prepared}Prepared by:%{ticket.refund_prepareby}

Are the variable names unique or do you have several forms with the same variable name?The rest looks fine to me, we do the same with some custom forms here too, but they all have characters as input/content and not just numbers, so maybe it's a bug, but therefore I'd need to do some more testing (to which I currently have no time...)

Write a Reply...