Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

How to use Include within custom form template

Go to End

2 Posts   95 Views


Community Member, 54 Posts

27 July 2017 at 10:23pm

Hi all,
Is it possible to use include within file?
I wanted to display some template data within <form> and </form>, and I followed the steps from How to Create Lightweight Form and put

<% include CustomBlock %>
in , but it is not working file is in templates directory not in Include.


Community Member, 6 Posts

4 August 2017 at 10:18am

Edited: 04/08/2017 10:19am

Hey VPull,
simply put inside yourmoduleortheme/templates/Includes/ and make sure you flushed the cache like