How do I allow multiple formats in a required field?

Hi,   
In this case I am trying to validate a zip code field to allow U.S., Canada, and UK zip codes.  How would I do this?  I tried using the attached image, but it gives me an error when I enter a nine-digit U.S. zip code, like 12345-6789.  I want the field to be able to accept the four different zip code formats below.  Thank you for your help.

I've never tried doing that many different types in one go but I Just tried it and it seems to work.
All the stuff you have in the Validation field should also be in the Edit and Display tabs. The Validate patterns validate to the Display patterns (if the data displays properly then it will validate). The Edit pattern controls the different ways data can be entered.

Similar Messages

  • How can I allow multiple file selections ?

    I used FileReference's browse function,
    But it's only can select one file at the same time.
    How can I allow multiple file selections ?
    Thanks a lot.

    You need a FileReferenceList object instead. See the Help for
    FileReferenceList, it has good examples.
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • How to block the 'save' function when the required fields are not filled?

    Hello, Everyone
    I am new for this scripting. My question is:
    How to block the 'save' function when the required fields are not filled?
    I designed a PDF file with some required fields and I do not want the user to save the document until all required fields are filled. My idea is to write some scripts in Willsave method like:
    if (this.getField("Family Name").value == ""){
    app.alert('You should fill the Family Name field firstly!');
    But I do not think it works as finally the document is saved after all.
    Please help me on that!
    So much thanks.

    Dear Randybearwang,
    I am a Rocky myself and I know how though it is to establish some good codes. Since I created some forms with validation options myself I might have a code for you. The code also creates an alert box (Yes/no option) if the user chooses yes the form will be validatet, if he chooses "no" the alert window will be closed.If  everything is filled out correctly the form will be saved otherwise the textbox will be higlighted and gets focus.
    If you need further assistance , please let me know
    Have fun with the code.
    P.s I don´t know how to upload the "PDF" document. I wrote you an email, please get back to me if you still need the file.

  • How can I allow multiple CGI calls to one LabVIEW application?

    I currently have web server running my application, and I am having difficulty allowing multiple calls. How can I solve this?

    My suspicion is that the CGI requests are handled using the VI Server.
    The CGI VI is dynamically loaded and the run method is used to run the
    VI. This means that only one call to the CGI handler can run at a time.
    I suspect that the CGI handler could be a template, a .vit VI, instead.
    This alone might allow multiple calls. I don't have the toolkit in front
    of me, so I can't try it out. There may also need to be a few changes
    made to the internet toolkit so that they would load the template.
    You might give this a try.
    Greg McKaskle

  • How can I allow multiple users to edit a single shared iCal calendar?

    Is it possible to allow multiple users to edit a single shared iCal calendar? I also want to provide different permissions to those users. Is this possible through .MAC? Is it possible on Mac OSX Server?

    I would like 2 agenda synced through .Mac but it does not work.
    I have 2 computers and 2 laptops. A very simple agenda with 3 calenders. Myself my partner and the office calender. I want to publish my calender and that of my partner. The office calender I would like to sync so that we can change the office calender at any location.
    I set up sync only for iCall and have a .Mac account. When I change anything on any of the calenders in iCall nothing happens on any of my other locations. Even though the locations are registered as synced. I can see the sync wheel turning but at the end of it the calenders are not synced.
    At this moment I fully understand the publish and unpublished calenders but have no clue what so ever what syncing does for iCall. There seems to be no functionality to it. It does not transport any calender info over .Mac. There is no visable check to see what is happening and the process of syncing is not transperent. Lots of my friends go to me for advise on Apple issues but as far as sync wether iCall or Addressbook I always tell them sync does not work and I have no clue why others have it working. I haven't met any people here in Holland either that got in working. I suppose with iCall you have to get third party software to share calenders editable calenders. Really hopeless situation, wish Apple would just have a manual stating what sync can do and what it can not. Hours wasted on this issue trying to get it to work.
    Hope anyone here can help out.

  • How can i allow multiple incoming connections on my windows 8 vpn server?

    Hi eveyone, 
    Im trying to find out how to allow more than 1 incoming VPN connection into my windows 8.1 PC and no clue how to do it without openVPN or other programs (which i have no clue how to set up either)
    Im starting to use my home NAS for work where I store everything on it so when ever I go to a job I can either access it or save a new file to it. The problem is my wife also wants to use it and I dont want to not be allowed to connect when I need to or
    not allow her to connect. 
    Is there any way I can allow 2+ incoming connections on my home PC without getting a seperate software? 
    If the only option is getting a seperate program can anyone provide something that I can settup to my home router so I can access the NAS by the private IP?
    Thank you

      Short answer - no. The client OS only allows one incoming VPN connection.
    Bill

  • How can I allow multiple users on XP pro to use the same itunes files

    I'm new to this iPod/iTunes stuff and i would like to allow my family to use all the songs that I have on the computer. I installed iTunes 7.0 and loaded all 1800 songs using my user profile. I then let my wife signon and when i opened iTunes she couldn't see all the songs. I placed the iTunes directory in the /All Users/Shared Documents/shared music folder and i made the change to the iTunes preferences.
    Other users on the same machine still can't see all the music.
    What am I doing wrong?

    You're half-way there, GrezGolfer.
    To get to the finish line, make sure it's the iTunes Music folder, not the iTunes folder, you've put in the Shared Documents folder. (see http://docs.info.apple.com/article.html?artnum=93195 for details.)
    And finally, follow the instructions in the last part of that Knowledge Base article for each user - File menu > Add Folder to Library ...

  • How do i allow multiple pages to open in one page?

    Hi there,
    I want to be able to have one page with a left navigation where the viewer can click on the nav and get page content opening up on the right.  With each click of a new button on the nav, the content changes.  Like the apple site : http://www.apple.com/iphone/tips/
    Does anyone know how to do this?  I realise that frames used to do this i think but i know that's not the way to go.  Can anyone help?
    Cheers
    Nic

    No no no.
    What I'm saying is put the contents of what_is_it.html into the <desc> tag with CDATA to retain html elements. So your <desc> tag should look something like this:
    <desc><![CDATA[This is the desc area <b>with html elements</b>]]></desc>
    Which will render in your spry detial region as:
    This is the desc area with html elements
    Read this to see what I'm talking about.
    i wasn't able to view your XML
    One of my dynamically-generated spry xml datasets is located at http://DWFAQ.info/files/tutorials.php (view the source code to see xml syntax with embedded CDATA) If you store your info in a database and write your xml dynamically it is much, much easier to have control over your xml dataset. Then you can add, edit, and remove xml data dynamically by using insert, update and delete record server behaviors in Dreamweaver. Look Here to find out how to generate xml from a database dynamically although granted this may be a little over your head at this time since you're working with static html pages.

  • How do you allow multiple users share a common folder that is on the doc?

    I'm coming from many years as an OS 8.6 user. My family expects me to wade though all of the documentation and figure out how to make using the computer easy. One feature they liked was the way I set up the Apple Menu so that only the programs were listed. The categories were Applications, Diversions, Internet, and Utilities. This masked all of the other stuff that may have been associated with a program from them.
    I would like to do the same in OS X (10.4.7). So, in /users/shared I created a folder named of all things "Apple Menu". In this folder I've created new folders for Applications, Diversions, Internet, and Utilities. Into these folders I placed aliases to the various programs. I then took this folder and dragged it to the Doc. On my Doc, with I control click the "Apple Menu" folder, I see my folder names with drop downs listing all of the aliases just like in OS 8.6. Unfortunately, on the other user accounts after dragging the folder /users/shared/apple menu to the Doc, they can only see aliases to files that came with the system. They can not see any of the new files that I've added. How do I set this up so that I maintain one folder of the aliases to various programs and yet every account can see all of these aliases?
    I don't want the Doc cluttered with applications that are not used all of the time. At the same time I don't want to have to navigate to some sub-directory and scan a list of files looking for the application everytime I want to run it. The rest of my family members would go nuts. As a matter of fact, I think I would also. I liked the Apple Menu in OS 8.6. I think this Doc folder thing might just work, if I can get past this security/permissions issue.
    Thanks for the advice.
    Joe
    17" iMac G5   Mac OS X (10.4.7)   various Mac running OS 8.6

    Thanks for the suggestions offered so far, but they don't get to the root of the issue. I only want to maintain one, and only one, "Apple Menu" folder. I'm not looking to restrict user access. I'm trying to streamline user access for those who are not comfortable navigating down 2 or 3 or more levels of directories looking for the "applications". As Administrator I do this at the time an application is installed and place an alias to the application in the appropriate "Apple Menu" folder so that my family members can quickly and easily access it.
    I built the "Apple Menu" folder and placed it in /user/shared. I also built all of the aliases to the applications and placed them in the appropriate sub folder of "Apple Menu". I've chosen, "Applications", "Diversions", "Internet", and "Utilities" as the sub folders.
    Some of the aliases, while logged into a non-administrator account do not show up in the "Apple Menu" while others do. For example TextEdit appears while TextWrangler, which I installed does not. I thought that only programs that I installed are not showing up, but this is not true. I installed Reunion and this program is visible from the non-administrator accounts. Yet I can navigate to the item not appearing in the "Apple Menu" and launch it.
    The top folder's owner is myself, the group is "wheel" and it has read permission, and everyone has read permission. I've made myself and the other users members of the group wheel. And I've propogated these values down the folder hierarchy starting at "Apple Menu". I would like to know why this isn't working?
    Though Classic Apple Menu and XMenu sound like good alternatives in each case I would be responsible for setting these applications up in each environment. I only want to do this set up once as administrator and know that all of system's users have access to this information from the Dock.
    Is there some kind of installation step missing that is not permitting these aliases from being seen by all of the system's users?
    Again, thanks for the advice,
    Joe

  • How can I import multiple email addresses in cc field of MAIL email into Address Book or Contacts?

    Hello...Mail and Address Book used to have a great feature where when you received an email (in Mac MAIL program), if there were multiple emails I'm the "to" or "cc" fields, you could select them all as a batch and drag them into Address Book and it would add them all to Address Book.  Now it doesn't seem to let you do it as a batch...you have to click each email address and select "add to address book". 
    Does anyone know of a workaround, or an AppleScript, or third party app that would allow users to add email addresses to AB in a batch from a MAIL email?
    Thanks!

    Try this.. Click the first in the CC field hold Shift, Click the Second Third, Fouth, Fifth and so on... click right Mouse select add to Contacts.

  • How to get a currency format for a character field

    for some specifix reason, we have a requirement to show character field (which results in value 633948) in the format $633,948
    how do i do this?
    if i do SELECT to_char(:c_1,'$999,999')) from dual;
    it gives me ora: 01722: invalid number error
    c_1 is a user parameter of data type character

    Try using TO_NUMBER first, as in something like:
    SQL> VARIABLE c_1 VARCHAR2(6)
    SQL> EXECUTE :c_1 := '633948';
    PL/SQL procedure successfully completed.
    SQL> SELECT TO_CHAR(TO_NUMBER(:c_1), '$999,999') FROM DUAL;
    TO_CHAR(T
    $633,948Hope this helps.

  • 10GR2 - How can I load multiple row values into one field?

    Hi
    Can anyone please help with a problem I'm having with merging data.
    The source table has multiple entries for the same Id e,g,
    ID Code
    1 123
    1 234
    2 123
    2 567
    The output should only have one row per ID e.g.
    ID Code_List
    1 123;234
    2 123;567
    Do you know what operator I could use that would allow me to do this? I've looked at unpivot but I think I would need multiple output fields (one for each Code). I have to concatinate the codes and separate with a semi-colon.
    Thanks
    GB

    Q) Input data
    =============
    COL_0,COL_4
    1235,"G0123,G124,G25,G6"
    1236,"G01,G23,G124,G25,G6"
    1237,"G0123,G1,G24,G25,G6"
    1238,"G,G0123,G124,G25,G6"
    1239,"G0123124,G256"
    Output
    ======
    TEST_ID,TEST_VAL
    1235,G0123
    1235,G124
    1235,G25
    1235,G6
    1236,G01
    1236,G23
    1236,G124
    1236,G25
    1236,G6
    1237,G0123
    1237,G1
    1237,G24
    1237,G25
    1237,G6
    1238,G
    1238,G0123
    1238,G124
    1238,G25
    1238,G6
    1239,G0123124
    1239,G256
    I wrote this procedure...
    declare
    rcd_cnt number;
    test_id123 number;
    junk_1 number;
    cd_occurences number;
    child_count number;
    str_abc varchar2(200);
    char_pos     number default 0;
    cd_temp_str varchar2(50);--:= 'G0123,G124,G25,G6';
    begin
    select nvl(count(col_4),0) into rcd_cnt from test_ee where col_4 is not null;
    for aa in 1 .. rcd_cnt loop
    select col_0,rownum rn,nvl(trim(col_4),0) into test_id123,junk_1,cd_temp_str from (select col_0,rownum rn,col_4 from test_ee where col_4 is not null) where rn = aa;
    --dbms_output.put_line('...I am in for loop...' || cd_temp_str);
         --dbms_output.put_line('===================' || rcd_cnt || '.................' ||aa);
    cd_occurences := length(cd_temp_str) - length(replace(cd_temp_str,','));
    dbms_output.put_line(cd_temp_str || '...Str Occurences are ...'||cd_occurences ||'**************'||test_id123);
    child_count :=0;
    for z in 1..length(cd_temp_str)+1 loop
    child_count := child_count+1;
         if(instr(cd_temp_str,',') > 0) then
         char_pos := instr(cd_temp_str,',',1,1);
              str_abc := substr(cd_temp_str,1,char_pos-1);
         dbms_output.put_line('..Partial String of..'|| z ||'..is.....' || str_abc);
              insert into test_xx(test_id,test_val) values(test_id123,str_abc);
         end if;
         cd_temp_str := substr(cd_temp_str,char_pos+1,length(cd_temp_str));
         if(cd_occurences=child_count) then
         dbms_output.put_line('..Partial String of..is.....' || cd_temp_str);
              insert into test_xx(test_id,test_val) values(test_id123,cd_temp_str);
         end if;     
    end loop; -- close for of z */
    --dbms_output.put_line('...I am in end for loop...');
         end loop; -- close for of aa
    end;
    instead of procedure,is there any way from sqlqery.

  • How do you set the format of a text field

    I have a form with a text field that I want to set to either date format or number format depending on the selection of a radio button. Is there a way to do that via javascript?
    var f = getField("txtAgeDOB1");
    var initVal = f.value;
    if (initVal == "Age") {
    f.format = number;
    } else {
    f.format = date;

    One can set the format of the field to "None" and then by checking the value of a check box or some other logical test make a decision as to what format and value to fill the text box with. One can use the util.printf, util.printx, or the util.printd method to format the value.

  • How to display custom error message if the Required field is not entered?

    Hi,
    I have made one input field as required field in a view.
    I want to display one custom error message ,if the required input field is not entered.
    Please help me regarding this.
    Thanks,
    Deepika

    hi deepika....
    First go to message pool under webdynpro components.
    Create a new message there..of type error.
    Enter your text.
    Now to avoid null pointer exception , in wdDoInit(), initialise the value
    wdContext.currentDateTimeElement().setDate("");
    now create an action for submission of data. If field is empty, then within the button write:
      msg = wdComponentAPI.getComponent().getMessageManager();
        if(wdContext.currentDateTimeElement().getDate().equals(""))
        msg.raiseMessage(IMessageCompTodatDateTime.ERROR,new Object[]{""},true)     ;
    between begin others put:
    regards,
    pinki
      IWDMessageManager msg = null;

  • How to make the manufacture date as  not required field

    When upload initial stock, the manufacture date is made as a required field to enter but actually there are no related information for some materials.  Is there any configuration to disable this function and make manufacture date field as an optional field?
         Thanks a lot!

    Hi,
    Use t.code: OMJX and make  date of manufacture {field nameGOITEM-HSDAT} field as hide or display as you required and save.
    Now try ur trasnaction.
    Regards,
    Biju K

Maybe you are looking for

  • Multi-Threaded FTP

    Multi-Threaded FTP was a huge attraction for me, and one of the features that sold me on upgrading to Dreamweaver CS6.  However, I haven't seen any sign of it in the product or any documentation to help me use it.  My files keep transferring in the t

  • Departure country determination for 3rd party sales order

    Hello, We are creating a 3rd party sales order and using dummy plants and dummy shillping point. we do not have plants abroad activated. While creating the intercompany billing doc the departure country is not picked up correctly since we have dummy

  • C300 fcp 7 log and transfer

    hi. i have a folder structure and i am trying to import on my hard drive via log and transfer. i don't have the original card. I downloaded both the xf utility and the xf transfer. i am on 10.8.6. Each time i am getting the unsupported media error. T

  • G3 suddenly no show

    Rarely I use this, but it always works.  Suddenly I just get blank screen. dont even know where to start???

  • Adobe Camera Raw 8.2 Crashes

    Hi everyone, When I open a smart-object from Camera Raw 8.2 in Photoshop CS6 (i.e. made a new smart-object via copy and double click the icon to open Camera Raw) and I use the eyedropper tool as the Target adjustment tool ((Command + Click) in Camera