如何在用户在Acrobat XI中输入信息之前循环用户输入请求

时间:2016-05-04 15:06:01

标签: javascript acrobat

我需要对表单字段进行编程,以便用户无法进入下一个字段,直到字段填写完为止。我将其设置为弹出一条消息,但仍允许用户继续操作。 这就是我所拥有的。

var ConstructionType = this.getField(" ConstructionType")。value;

server {
    listen 80;
    server_name example.com;
    root /var/www/example.com;

    # Any route containing a file extension (e.g. /devicesfile.js)
    location ~ ^.+\..+$ {
        try_files $uri =404;
    }

    # Any route that doesn't have a file extension (e.g. /devices)
    location / {
        try_files $uri /index.html;
    }

    # The location block above provides the shortest prefix, of length one, 
    # and so only if all other location blocks fail to provide a match, 
    # this block will be used.

    # Ajax api starts with /v1/ will be proxied
    location /v1/ {
        proxy_pass http://proxy;
    }
}

1 个答案:

答案 0 :(得分:0)

以下是我不需要时隐藏字段的代码。

'if(event.value =="New Commercial") {
this.getField("FixNum").display = display.visible;
this.getField("FinArea").display = display.hidden;
} else if(event.value == "Tenant Improvement"){
this.getField("FixNum").display = display.visible;
this.getField("FinArea").display = display.hidden;
} else if (event.value =="Residential Addition") {
this.getField("FinArea").display = display.hidden;
this.getField("FixNum").display = display.hidden;
}`