无法以信息路径形式“文本字段"强制电话形式的值. [英] Can't force phone formate value in infopath form "text field"

查看:76
本文介绍了无法以信息路径形式“文本字段"强制电话形式的值.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经以InfoPath表单创建了一个简单的文本字段列.我还使用规则管理器将输入的值的格式更改为(xxx)xxx.xxxx".但是我不能强迫该列仅接受这种格式.此时,如果用户输入电话号码, 更改为正确的格式,但同时也需要使用"abcd"以及价值.只需要限制为数字.尝试将数据类型更改为整数,但是由于括号的原因,导致其抛出错误.

I have created a simple text field column in InfoPath form. I am also using rule manger to change the format of value entered to "(xxx) xxx.xxxx. but I can't force the column to only accept this format. At this point if user enter phone number it change to correct format but at the same time it also take "abcd" as value as well. need to restrict to only numbers. Tried changing the data type to whole number but because of parenthesis its throwing error. Any help will be appriciated

推荐答案

您好,Imranaql,这是几个链接,可帮助您正确设置格式:

Hi Imranaql- here are a couple links that will help you format it properly:

https://digitalmacgyver. wordpress.com/2012/02/02/custom-rule-for-telephone-field-in-infopath-201-form/

http://www.infopathdev.com/forums/p/9304/32948.aspx


这篇关于无法以信息路径形式“文本字段"强制电话形式的值.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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