问题标签 [formfield]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
sharepoint - 如何使“SharePoint:FormField”成为必需?
我正在制作一个 SharePoint 2010 新/编辑项自定义表单。我有一个标题字段:
如何使该字段成为必填项?
extjs - Extjs 表单字段:使用“3d 4h”之类的格式解析时间?
我想要一个文本字段,代表某事的时间量,将文本值解析'3d 4h'
为小时。我提供的示例是 3 天 4 小时 -- 76 小时。
在我开始使用自己的文本到数字解析器引擎之前,有没有人做过类似的事情,或者 Extj4 是否提供了一种方法来简化这个过程?
谢谢!
html - 如何使用此代码从表单字段中去除 html 标签?
我正在使用一些基本脚本来去除 HTML 标签。这是我正在使用的代码。我怎样才能让它['msge']
在发布时命名为文本字段?
vba - word VBA将表单字段更改为数字
我正在使用 Word VBA 创建一个表单域,然后在该域中插入一个值。
问题是我需要更改我创建的字段的数据类型。
代码:
到处打猎,但找不到有关该主题的任何内容。更改字段书签的名称也很好(默认情况下称为“Text1”)。
attributes - 验证表单字段值的嵌套属性已清除
我有用户表格。其中用户表有用户名和电子邮件地址,另一个用户配置文件表有 user_id、位置等。我使用下面的表格
我已经完成了用户 email_Addreess 唯一性的验证。如果发生验证,那么我会渲染到同一页面。
我的问题是,如果验证发生并将城市字段中的值呈现到同一页面,位置值字段被清除。但值仍保留在其他字段中。请尽快回复我
sharepoint - SharePoint FormField 不显示 ControlMode="Display" 中的内容
我使用 SharePoint 2010 标准版。
我有用于创建/编辑项目的自定义表单,以及 ControlMode="Display" 的几个字段,例如:
当我打开此表单时,ControlMode="Edit" 中的所有字段都正确显示,但 CustomStatus 字段显示完全一样:
自定义状态 [“自定义状态”列值]
奇怪的是,我看到这个自定义表单在不同的服务器上工作......
javascript - 使用来自 javascript 的返回值自动填充隐藏的表单字段
我需要使用从 java 脚本函数返回的值填充隐藏的表单字段,但不确定如何执行此操作。我是 JavaScript 新手。对你的帮助表示感谢。我需要动态填充总价格,如果不是隐藏的表单字段和文本表单字段也可以使用。
太感谢了
php - 如果表单为空,请不要提交表单
这是我的第一篇文章,我对 php + ajax 还很陌生。
我的大部分编码设置现在唯一的问题是,当我按下提交按钮时,会显示一个通知,只有在文本字段不为空时才会显示。
这是我的代码:
接下来是一些php编码:
?>
希望这里的任何人都能够告诉我我应该怎么做才能在文本字段不为空时只显示“感谢您订阅 SHCA”消息
最终答案 Dereck 忘记了对象中的“”,所以大声喊叫 dereck 帮助我!
c# - 使用 Ajax 和 c# 根据另一个字段更改字段值
我正在尝试创建一个页面。这很简单,就像当我更改一个文本框值时,另一个文本框会自动更改而无需离开该字段。我使用了 TextChanged 事件。但是我必须离开该字段才能更改另一个字段值。有什么帮助吗?
aspx 文件:
aspx.cs 文件:
我是aspx和c#的新手。请帮我。
java - iText TextField gets strange characters upon editing
I'm adding a TextField to a pdf created with iText. Everything works as expected except when I set a custom font on the TextField. It looks normal at first, but if I ever clear the field, then stop editing, then edit again, strange characters appear when I attempt to type again.
For example, if I type in "qwerty" it actually displays "è ï E ê í ê". If I copy and paste the text, it pastes "qwerty" into any other text program. Is there an issue with encoding? Normally for creating our pdfs I only embed a subset, which are created elsewhere. I create this BaseFont embedding the entire font, but it still doesn't fix the issue.
Here is the applicable code:
All help is appreciated, thanks in advance.