09-19-2012 12:38 PM
Does anyone have a very simple example of an e-form that can be used as a prompt within Doc Comp? I've tried setting one up, and it displays and submits fine, but no values fill in to the template. I'm not sure if fields need to be configured a certain way, or if a certain type of button needs to be used to submit, etc.
Thanks!
09-19-2012 12:47 PM
I figured it out. I forgot to put the method on my form tag. Here's a quick example that works:
<html>
<body>
<form id="doccomp" name="doccomp" method="post">
check amount:<input name="checkamt" id="checkamt"/><br/>
check date:<input name="checkdate" id="checkdate"/><br/>
<input type="submit" name="OBBtn_Yes" value="Submit"/>
</form>
</body>
</html>
There is some extra stuff in there, like the form tag I don't think needs an id or name, and the input tags don't need an id, but I just pasted the exact code that I just confirmed does work.
12-13-2012 05:21 AM
Hey John,
A fun note to add (in case others find this post), make sure that the field names do not have spaces. For instance, the following will not work:
<input type="text" name="Description External" />
However, the following will (note there is no space between "Description" and "External":
<input type="text" name="DescriptionExternal" />
Take care.
12-14-2012 06:57 AM
Can you use radio buttons or drop down boxes for Yes/No options with the HTML User Prompts in Doc Comp?
12-14-2012 07:09 AM
The following is an example of a drop down list which I used.
<html><head><title>Internal</title></head><body><form method="post" action=""><table border="1" cellpadding="0" cellspacing="0" bordercolor="#000000"> <tr> <td><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> <tr> <td> </td> <td> </td> </tr> <tr> <td>Description:</td> <td> <select name="Description"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> </select> </td> </tr> <tr> <td> </td> <td><input type="submit" value="Save" name="Save" /></td> </tr> </table> </td> </tr></table></form></body></html>
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.