User Profile

Collapse

Profile Sidebar

Collapse
rcwip
rcwip
Last Activity: Nov 10 '11, 01:03 AM
Joined: Nov 9 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • rcwip
    replied to Format of textfield of livecycle designer
    Hi acoder, Thanks for your reply. What I intend to do is providing user with a 8-character textfield for input. If user inputs "f1" or "f01" or similar entry, the display of the relevant textfield will be "F0000001". If the first character of the input is anything other than "f" or "F" or 0-9, it will prompt user with an error message. Can you please advise me how to modify my code to that effect....
    See more | Go to post

    Leave a comment:


  • rcwip
    started a topic Format of textfield of livecycle designer

    Format of textfield of livecycle designer

    Hi there. I got the following script for the format of an inputted number (7 spaces). If entered as "1" the format will be changed to "0000001". Now I want to get this effect: if entered as "f1", the format will be changed to "F0000001". How can modify the script to achieve that? Thanks.

    Code:
    if (!(this.isNull)) {
    var tf = this.rawValue;
    if (tf < 1 ) {
    xfa.host.messageBox("The
    ...
    See more | Go to post
    Last edited by acoder; Nov 9 '11, 08:55 PM. Reason: Please use [code] tags when posting code
No activity results to display
Show More
Working...