SugarCRM 在Html中增加超连接按钮

在html模板页中
<!-- BEGIN: main --> //此句代码下面写
<script type="text/javascript">

function prep_callin(the_form){
the_form
.return_module.value='CallIns'; //返回的模块 返回的3个 在 ListView.html 中应去掉 ,因为ListView没有返回
the_form.return_action.value='CallInEditView'; //返回的页
the_form.return_id.value='{id}'; //返回的id
the_form.module.value='CallIns'; //前往的模块
the_form.action.value='CallInEditView'; //前往的页
}
</script>

<input title="新增立案"
accessKey
="新增立案"
class ="button"
type
="submit"
name
="Edit"
value
="新增立案"
onclick
="prep_callin(this.form);"//调用上面的JavaScript
/>
原文地址:https://www.cnblogs.com/hailexuexi/p/1953246.html