XF 1.5 How to edit custom field in specific template?

Sadiq6210

Well-known member
Hello,

I want to add custom field (id: realname) in the template (dbtech_credits_purchase_paypal) where the user can view and Edit this field in this template

I tried this:
{xen:helper userFieldTitle, realname}: {$visitor.customFields.realname}

It is working but it will only display/view the field, what about if I want to edit this field from this page?
 
Top Bottom