列表项目或不在Sharepoint Designer中的List的NewForm.aspx中显示。 [英] List Items or not displaying in NewForm.aspx of List in Sharepoint Designer.

查看:112
本文介绍了列表项目或不在Sharepoint Designer中的List的NewForm.aspx中显示。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 

   我需要显示验证消息For" Description Field"当用户输入字符时。使用鼠标悬停在事件上我需要应用剩下200个字符的消息.......对于此列表项目或不显示在
的NewForm.aspx中Sharepoint Designer中的列表。我无法使用设计器newform.apsx将鼠标悬停在该内容类型字段上。任何人都可以帮助我在鼠标悬停时将字符数应用于该字段。

   I need to show validation message For "Description Field" When ever user enter the characters.Using mouse over event I need to apply the message that 200 characters left.......For this List Items or not displaying in NewForm.aspx of List in Sharepoint Designer.So I am unable to apply mouse over event to that content type fields using designer newform.apsx.Can Any one help me to apply the character count to the field on mouseover.

Regars,

Surakshith。

Surakshith.

推荐答案

打开在SharePoint Designer中列出新表单,并在PlaceHolderMain标记下添加如下所示的jquery工具提示函数:

Open the list new form in SharePoint Designer and add the jquery tooltip function like below under PlaceHolderMain tag:

<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
  
  <script type="text/javascript">


(function(){
jQuery(" div [id ^ = '描述'] [id
( function() { jQuery("div[id^='Description'][id


='TextField_inplacerte']")。attr('title','剩下200个字符.......');
='TextField_inplacerte']").attr('title','200 characters left.......');


这篇关于列表项目或不在Sharepoint Designer中的List的NewForm.aspx中显示。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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