Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Dallas_Kuhn
Dallas_Kuhn
Offline
  • 14-11-2009
    Hey Ed, I changed the script a little. I think a switch statement handles that functionality nicely. But thats my personal preference. The selectedIndex property is 0-based. This means the first item in the list has a selectedIndex of 0; the second item in the select list has a selectedIndex of 1, a...

    Type

    Questions

    Views

    193

    Likes

    0

    Replies

    0
  • 13-11-2009
    My pleasure. Please can you embed all the fragments in the form and re-attach. Im getting broken links cos i dont have the fragments.

    Type

    Questions

    Views

    193

    Likes

    0

    Replies

    0
  • 13-11-2009
    One way to do this is to use a regex to validate the input. You can put the following code into the exit event of the field. Make sure the language is set to JavaScript:var pattern = /^[\sa-zA-Z\-]*?$/;if(!this.rawValue.match(pattern)) { xfa.host.messageBox("Only letters may be entered into this fie...

    Type

    Questions

    Views

    183

    Likes

    0

    Replies

    0
  • 13-11-2009
    You can do it but its quite a job and in a way it will be like designing the form twice. First, you will add and layout all your fields in Designer. Then once you are happy with the layout, you need to PRINT the form to PDF (Note: this is Print and not Save As). It will then be a flat page with no f...

    Type

    Discussions

    Views

    350

    Likes

    0

    Replies

    0
  • 13-11-2009
    Ed, would you be able to embed the fragments in your from and attach it so that I can get a clear understanding of what you have in mind. Thanks.

    Type

    Questions

    Views

    193

    Likes

    0

    Replies

    0
  • 13-11-2009
    This PDF is asking for a password when I try open it in Designer. Do you know what the password is?

    Type

    Questions

    Views

    114

    Likes

    0

    Replies

    0
  • 13-11-2009
    The 1st example in Bruce's post works perfectly. I think that is exactly what you are looking for. Just put the following code into the 'exit' event of your field and set the Language drop-down to JavaScript:this.rawValue = util.printx(">?<*",this.rawValue);As soon as you exit the field the first le...

    Type

    Questions

    Views

    700

    Like

    1

    Replies

    0
  • 13-11-2009
    So in each case are you trying to set the drop-down to visible and add 1 instance?

    Type

    Questions

    Views

    198

    Like

    1

    Replies

    0
  • 13-11-2009
    If the original PDF was designed with Designer, then you will have no problems editing and rearranging fields. If it is a 'Flat' PDF then you wont be able to just open it and start moving the fields and text around. It will be like working with an image. You will still be able to add fields and cove...

    Type

    Questions

    Views

    114

    Likes

    0

    Replies

    0
  • 12-11-2009
    I work with fragments all the time and use Designer 8.1. This seems to be some sort of bug with the program. This problem happens from time to time for no apparent reason. All you have to do is click on the selectable parts in the hierarchy of the main xdp and delete them. Do not delete the actual f...

    Type

    Questions

    Views

    433

    Likes

    2

    Replies

    0