Hi,I am not able to generate a simple html page, I have a datacapture.cfg file with just one field "Heading" which is a text and I am capturing the heading entered through a .tpl file and want to generate a html. I have attached the .tpl file...and the output I get when I preview it is :my $heading = iwpt_dcr_value('dcr.Heading'); iwpt_output($heading);Got stuck at a very basic thing.Pls help.
<iw_pt name="First Form"/><iw_perl>iwpt_output("<html>\n<head><title>Testing</title></head>\n<body>\n"); my $heading = iwpt_dcr_value('dcr.Heading'); iwpt_output("<h1>$heading</h1>\n"); iwpt_output("</body></html>\n");</iw_perl>
What is the name of your container and item?syntax will be iw_value name='dcr.container name.item name'/>
Hi guys,I have attached the datacapture.cfg and templating.cfg entry, I am running this on TS 6.7.1
Thanks Jhanavi,Just uploaded the templating and the tpl .. I was able to preview the page but the text entered in the textfield was not captured while previewing the html.