I can’t get rid of ‘Total in words’. I’m trying to place my custom fields somewhere between the company details and the table. The code I worked on goes like this…
with the ‘Total in words’ on top of my custom fields… having the custom field in between the business details and the tabulation, it would be an odd place to have it there.
Yes, I tried to delete “{% if field.label == “Total_in_words” %}{% continue %}{% endif %}” it brought in the notes…
It would be nice if someone could help as the link to list of variables is not working on manager.io
also I’m looking to move some of the custom fields to the right so I could make it look neat & aligned. It would be nice if someone can guide me through breaking up of custom fields (in general) into naming them as specific fields as I could use , to align them that way on my own.
the field label in a custom field is exactly represented by its variable name.
for example,
it is {% if field.label == 'Total in words' %}
and not {% if field.label == “Total_in_words” %}
you can get all the custom fields by their headings like above.
Bud. I’m trying to break the custom fields but I get liquid error, It would be nice if you could show me an example with any one of my above fields… also does positioning custom field while I created it over ride the code or does the later over-ride the former?
That depends on what you mean by “positioning.” The Position field in a custom field’s definition controls only the order of presentation. It has nothing to do directly with physical position on the finished document.
okay got it.
can you please demonstrate how I could split 8 custom fields into 2 columns of 4 fields in each?
I’m still breaking my head with this… this is the final part.
Note: pay attention to usage of the code " {% for field in fields %} " for default fields & the code " {% for field in custom_fields %} " for custom fields.