0
我有一個網站,當用戶完成在網站上查看項目時,他們點擊一個完整的按鈕(隱藏,直到他們完成所需的任務),彈出一個NewForm出席名單。一旦用戶添加他們的名字並點擊保存,NewForm應該關閉。我創建了一個NewForm(NewForm_CloseAfter.aspx)並指出該網站打開NewForm_CloseAfter.aspx(到目前爲止沒有問題)。SharePoint 2013上的額外按鈕NewForm.aspx
查看下面的代碼。我註釋掉了SharePoint按鈕並添加了html輸入按鈕。
問題:我的html輸入按鈕在窗體的底部工作正常。但是,看起來像默認的保存/取消按鈕是在頂部與提交信息和顯示列表的默認行爲(不需要的行爲)
問題:如何刪除我的表單頂部的默認按鈕?
感謝
<tr>
\t \t \t <td class="ms-toolbar" nowrap="nowrap">
\t \t \t \t <table>
\t \t \t \t \t <tr>
\t \t \t \t \t \t <td width="99%" class="ms-toolbar" nowrap="nowrap"><IMG SRC="/_layouts/15/images/blank.gif" width="1" height="18"/></td>
\t \t \t \t \t \t <td class="ms-toolbar" nowrap="nowrap">
\t \t \t \t \t \t \t <!--<SharePoint:SaveButton runat="server" ControlMode="New" id="savebutton2"/>-->
\t \t \t \t \t \t \t <input name="Submit1" type="submit" value="Save" id="savebutton2" style="width:75px" onclick="javascript: {ddwrt:GenFireServerEvent('__commit')}; window.alert('Item updated.') ; window.close();" />
\t \t \t \t \t \t </td>
\t \t \t \t \t \t <td class="ms-separator"> </td>
\t \t \t \t \t \t <td class="ms-toolbar" nowrap="nowrap" align="right">
\t \t \t \t \t \t \t <SharePoint:GoBackButton runat="server" ControlMode="New" id="gobackbutton2"/>
\t \t \t \t \t \t </td>
\t \t \t \t \t </tr>
\t \t \t \t </table>
\t \t \t </td>
\t \t </tr>