Sharepoint Designer中的表单自定义 [英] Form Customization in Sharepoint Designer

查看:132
本文介绍了Sharepoint Designer中的表单自定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



这是我在该网站上的第一篇文章.
我需要您的专业知识和帮助.

我必须构建一个表格(数据输入表格),例如:共享点设计器2010中的信用卡申请表格不在信息路径中.我可以使用
进行表单 表单定制(新表单),但在隐藏和显示某些字段方面存在一些问题
当某些字段检查时.我们如何以及在何处可以编写Jquery/javascript.

你们从经验中得出一些想法吗?

非常感谢您的帮助!

谢谢,

Saroj

Hi,

This is my very first post on this site.
I am asking for your expertise and help.

I have to build a form(Data Entry form) ex: Credit card application form in share point designer 2010 not in Info path. I am able to make a form by using
form customization (new form) but have some problem with hide and show some field
when some field checked. how and where we can write Jquery / javascript to do so.

do you guys have some ideas from your experience?

I will really appreciate your help !

Thanks,

Saroj

推荐答案

在这种情况下,Infopath是根据规则进行验证的最佳方法.您不希望在infopath中实现的任何方式!!所以,我在这里提出我的想法.我不能保证这是最终的解决方案.

1.您必须通过在Visual Studio中创建来浏览应用程序页面.在示例信用卡应用程序中,您可以将所有这些字段放到一个应用程序页面中,并添加所需的javascript,jquery脚本,并且可以表现良好.

2.否则,如果只想显示几个字段,则可以用javascript或jquery编写整个脚本,并提供指向内容编辑器Webpart的链接.我在博客中发布了类似的内容.访问.这是不一样的.我只是展示如何在内容编辑器Webpart中使用jquery/javascript.您必须根据需要进行自定义.
In such cases Infopath is the best one to validate based on the rules. Any way you don''t want to implement in infopath right!! So, here i am giving my idea. I am not guaranteed that it is the final solution.

1. You have to approach through the application pages by creating the in visual studio. In your example credit card application, you can put all these fields into one application page and add the required javascript, jquery scripts and you can perform well.

2. Otherwise if you want to display only few fields, you can write the entire script in javascript or jquery and give a link to the content editor webpart. I posted in my blog similar kind of thing. Visit this. This is not equally same. i am just showing how to use the jquery/javascript in content editor webpart. You have to customize as per your requirement.


这篇关于Sharepoint Designer中的表单自定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆