adding a field to the submit service request form
 
Author
Message
SysAider
12
 
I have been at this for hours!!!

I have been following the direction in this article https://www.sysaid.com/Sysforums/posts/list/251.page)and cannot get this to work. I got it to show up once but it was way out of line and goofed up some other things. I attached a copy of my submit user form html file if someone could add this and send it back I would be greatly appreciative . here is the html from the article above:

<tr>
<td class="Form_Ctrl_Label"><label>
$resource.getString('CAPTION-FIELD'):</label></td>
<td> </td>
$frm.printControl('FIELD-NAME', MANDATORY?, VISIBLE?, 'DEFAULT')
</tr>
<tr><td height="10"> </td></tr>
submit-service-request.htm
SysAider
12
 
if possible I just wanted it to be added under the main asset and before the send screen capture option
SysAid Wiz
507
 
I had to use a lot of breaks in mine for alignment. I'll get you a sample of mine..


#if($sr.getCategory()=="HR")
<tr><td height="10"> </td>
<td class="Form_Ctrl_Label" colspan="3"><label>XXXX</label></td>
</tr>
<tr>
<td height="10"> </td>
<td height="10"> </td>
<td height="10"> </td>
<td height="10"> </td>
</tr>
<tr>
<td class="Form_Ctrl_Label">$resource.getString('mandatory.sign')</td>
<td class="Form_Ctrl_Label"><label>$resource.getString('submit.location.caption'):</label></td>
<td height="10"> </td>
$frm.printControl('location', true, true, '')
</tr>
<tr>
<td height="10"> </td>
<td height="10"> </td>
<td height="10"> </td>
<td height="10"> </td>
</tr>
#end

This message was edited 1 time. Last update was at Mar. 16, 2012 02:23 AM

SysAider
12
 
thanks for the help but I think my problem is I am not placing in the correct spot in the html file, can you help with where to place it?
SysAid Wiz
507
 
has to go below the category/subcategory/thirdlevel code. You have to make a template folder and copy the submit service request form to the template folder and edit that one. Then Customize>Appearance>Tell the UI where the folder is and hit save...