Print Form in Dialog with HTML
Posted: 18 Aug 2014
In regards to the blog post about printing forms...
I was hoping to trigger the onlick open form in dialog with some HTML instead of using the form control configuration. Can this be done? Can you instruck me how.
My Attempt:
<a href="#" onclick="return fd.openFormInDialog(fd_AVConfCheckList_Display.aspx)"
<span class="ui-icon ui-icon-print floatRight"></span>
</a>
------------- OR -----------------------
<a href="#" onclick="printForm()"<span class="ui-icon ui-icon-print floatRight"></span></a>
printForm(){
return fd.openFormInDialog(fd_AVConfCheckList_Display.aspx)
};
I was hoping to trigger the onlick open form in dialog with some HTML instead of using the form control configuration. Can this be done? Can you instruck me how.
My Attempt:
<a href="#" onclick="return fd.openFormInDialog(fd_AVConfCheckList_Display.aspx)"
<span class="ui-icon ui-icon-print floatRight"></span>
</a>
------------- OR -----------------------
<a href="#" onclick="printForm()"<span class="ui-icon ui-icon-print floatRight"></span></a>
printForm(){
return fd.openFormInDialog(fd_AVConfCheckList_Display.aspx)
};