How to render text in Autoform instead of an Input Field


I have an application where instead of rendering a default text input field, or a textarea field, I would like to simply just render text underneath the label, which will be the result of a funciton.

For instance I have a collection and a field will have a number of hit’s for that page. I just want to return the number of hit’s as a field instead of showing a text box as this is just for informational use.


you can create helper function even with arguments and render it anywhere in template you want. It does not have to be input field.


Anyway to do this through simpleschema ? You have am example ?

So if I did this in simple schema do I need to do this inside autoform -> afFieldInput