FDF & LiveCycle Designer - HELP!

Dear all,
I think I'm becoming insane. I have forms created in LiveCycle Designer 8,
and I need that one of the text fields will be filled in automatically.
Its value (for example, "123456") is supposed to be based on a PHP Session.
I've found this great tutorial: http://koivi.com/fill-pdf-form-fields/,
only to find out later that it only works in forms created by Acrobat itself, and my question is: WHY?!
I have a dead-line to finish the project I need it for,
and I'll be kicked out if I won't find a solution to that issue until then.
Please, I beg you, help me with your kindness and wisdom to find a solution, since I'm currently at a dead-end with no turning back.
By the way, the funny, ironic thing is that I usually work in a web environment, using HTML, (Web) JavaScript and PHP to create forms with validations. The only reason we turned to the PDF technology is because
we need an image of the submitted form, and the digital signature as a
proof, in case patients in the research will decide to sue us for damages.
Thank you so much for reading,
Liron Sin-Shmuel, Web Programmer,
University of Haifa, Israel.
E-mail: [email protected]
Cellular: +972-52-6240900.

Thank you, Tembowa, but unfortunately, I don't understand a thing of the script you wrote. I need to do the whole procedure of implementing the Study ID on server side, using PHP, and I'm out of ideas.

Similar Messages

  • Unable to toggle between LiveCycle Designer & Help

    If we opened the LiveCycle Designer Help window, we are unable to switch to the Designer util the help window is minimized. This is slightly annoying the developers.
    It would be better if it can behave like other applications (e.g. Adobe Workbench ES)
    Thanks,
    Nith

    Charlie
    I am unable to duplicate the problem you are experiencing.  I was able to use Acrobat Pro 9 and X, to apply the Reader Extension permissions (to the sample form I posted earlier) and open and sign the form in both Reader 9 and X.
    What is the exact version of Acrobat you are using to apply the Reader Extension rights.  The dialog I see when doing so with Acrobat 9 Pro is...
    If you are using Acrobat Standard, it seems there is a limitation (save data only) on the Reader Extension permissions that you can apply.
    Regards
    Steve

  • LiveCycle Designer 8.0 Drop-down menu help - newbie

    I am new with LiveCycle and do not know much about coding and the like. I've search the forums and have not found quite what I need. (It might be because I don't know the correct terms to search - so I apologize in advance if there was a previous posting regarding this)
    I am creating a form for lab tests for referring physicians to fill out.
    for simplicity, I will just use the state, city example.
    >>>>>> QUESTION 1.
    I have dragged/dropped a drop-down menu icon onto the form, gone through the Palette>Object>Field>List Items to compile the list of states (in my real case, a list of lab tests)
    How can I get the second drop down menu to show the corresponding cities based on the "state" selected in the first drop down menu? So that when I choose "California" I have the option in the second drop-down menu to choose from "Los Angeles," "Orange County," "Long Beach," etc
    VERSUS
    if I select "Texas" the list will retrieve "Houston," "Sugarland," "Dallas," etc.
    I read about hardcoding and although I'm not quite sure what that means, I think that is what I will be doing as I will not be referencing outside of my form.
    Also, the items in these menus are long/descriptive in nature, is there a way to refer to the lists in the code without having to type everything out? In my form (instead of "state") I will have lab tests "Test_1" with CPT codes attached, that is the list includes items like:
    93880 - carotid duplex scan, bilateral
    93882 - carotid duplex scan, unilateral
    and in drop-down list 2 I have items like:
    454.0 - varicose vein with ulcer
    454.1 - varicose veins with inflammation
    it would be such a pain to type each out in the code, but if there are no other ways around it, that is fine too.
    >>>>>>> QUESTION 2.
    The referring physician will have the option to email this form to the vascular lab scheduler. To prevent an "accidental" changes, I would like the form to be a "live form" for people to fill out, but upon return, the form to be a static PDF file, that is, the person receiving the email does not have the option to make any changes (purposeful or accidental), is there a way to do this?
    THANK YOU SO MUCH IN ADVANCE!
    again, I apologize for asking for help for what I'm sure is an easy fix. I don't know very much about the coding language, if it is not too much to ask - step-by-step would be helpful.
    I'm using Adobe LiveCycle Designer 8.0.
    Thank you.
    -Viv

    Hi Geo,
    Thank you for the link.
    Sorry, this is very difficult for me to explain not knowing the scripting language, but I will try my best not to confuse you too much.
    I was able to get Thom's example to work, and based on that, I was able to get this hypothetical situation to work:
    < script contentType="application/x-javascript" name="Example2" >var oTestOrdered = {
    12345678912345678: [ ["-"], ["AAA (Endologix)"], ["AAA (GORE)"], ["Aortic Arch"],["other"]],
    56565: [ ["-"], ["Varicose Vein"], ["Venous Insufficiency"], ["Spider Veins"],["Symptomatic Var Veins"]],
    46546: [ ["-"], ["TA biopsy"], ["CEA"], ["amputation"], ["debridement"]]
    function SetTestEntries()
    ICD9_2.clearItems();
    ICD9_2.rawValue = null;
    var aTests = oTestOrdered[xfa.event.change];
    if(aTests && aTests.length)
    for(var i=0;i<aTests.length;i++)
    ICD9_2.addItem(aTests[i][0].toString());
    </ script >
    HOWEVER, I cannot get something like this one to work (the only difference is that I added a "9" to the first option) it seems as though I cannot insert anything beyond 17 consecutive characters (no dashes and underscores are allowed either):
    < script contentType="application/x-javascript" name="Example2" >var oTestOrdered = {
    123456789123456789: [ ["-"], ["AAA (Endologix)"], ["AAA (GORE)"], ["Aortic Arch"],["other"]],
    56565: [ ["-"], ["Varicose Vein"], ["Venous Insufficiency"], ["Spider Veins"],["Symptomatic Var Veins"]],
    46546: [ ["-"], ["TA biopsy"], ["CEA"], ["amputation"], ["debridement"]]
    function SetTestEntries()
    ICD9_2.clearItems();
    ICD9_2.rawValue = null;
    var aTests = oTestOrdered[xfa.event.change];
    if(aTests && aTests.length)
    for(var i=0;i<aTests.length;i++)
    ICD9_2.addItem(aTests[i][0].toString());
    </ script >
    The form I am creating is a Vascular Lab request form, where the test ordered (drop down box 1)has a CPT code to reference the test being ordered (i.e., 93880 - Carotid Duplex Scan, bilateral) and the test has a set of diagnoses (ICD-9 codes) in drop down box 2, associated with that test (i.e., 459.81 - Venous Insufficiency)
    I have found that I do not have a problem with the "diagnoses" but I cannot add the descriptive test select in the first place. That is, the code works fine if I leave it as "93880" but not "93880 - description." I have also run into the problem that I cannot use dashes or underscores, nor can I type more than 17 characters otherwise the code no longer works.
    Is there something I need to add or remove in order to make this work?
    Thank you in advance for your help and patience!

  • Livecycle Designer Error- everytime I open FORMS-HELP!

    Can someone help me please?!
    I can't seem to find anyone that can.
    I have CS3 and everytime I open forms this happens. I have uninstalled and reinstalled it 4 different times-still continues...
    I get this ERROR:
    Adobe LiveCycle Designer has encountered a problem and needs to close. We are sorry for the inconvenience.
    Error signature:
    AppName: formdesigner.exe AppVer: 8.0.2073.1 ModName: unknown
    ModVer: 0.0.0.0 Offset: 04d58113
    then I get a second one saying:
    Error signature:
    AppName: formdesigner.exe AppVer: 8.0.2073.1 ModName: ntdll.dll
    ModVer: 5.1.2600.2180 Offset: 000431a0
    thanks,
    cyndie

    Can anyone who is having these issues send the crash dump to [email protected] and I will forward them to R&D for investigation.
    Here are instructions on where and how to get the dump files.
    =================================================================
    Sometimes it is useful to capture an ad-hoc minidump file from FormDesigner when it crashes. Here are instructions for doing this on Vista, and XP.
    On Vista 32 bit, wait for the app to crash, and while the "your app has crashed" dialog is still visible, go to Task Manager process list, right click on FormDesigner .exe, and select "Create Dump File' from the context menu. After the dump file is written, its location will be shown in a second dialog box. The "designer crashed" dialog can then be dismissed.
    For Vista 64 bit, I think the dump files produced this way are probably not useful, because they will show stacks for the "64 bit side" of the 32 bit process, which is not what we want to look at. For Vista64, it is probably necessary to attach a real debugger to FormDesigner .exe and write a dump file.
    On XP, if the default drwtsn32 post-mortem debugger is installed, the dump of the last crash is available at "C:\Documents and Settings\All Users\Application Data\Microsoft\Dr Watson\user.dmp". If the user has installed a different post-mortem debugger (e.g. visual studio) or disabled things somehow, then an ad-hoc dump can be made by waiting for the "designer crashed" dialog, and leaving that open. Then go to task manager's process list and note the process ID of FormDesigner .exe. Then bring up a command prompt and type:
    Drwtsn32 -p designer_PID
    where designer_PID is the process ID of FormDesigner .exe found in task manager. After that, the "designer crashed" dialog can be closed, and the dump will be found in "C:\Documents and Settings\All Users\Application Data\Microsoft\Dr Watson\user.dmp".
    Along with the crash dump file, you should provide the exact build number of the FormDesigner executable you are running (e.g. 8.2 is not sufficient.) You can find the build number by right clicking on FormDesigner .exe and looking at the "Details" tab. It's the "Product Version" entry.

  • [LiveCycle Designer] Send Field Value with FDF Response

    Hiya. I'm trying to send two FDF responses, a status message and a field/pair value, from a PHP script that has processed a HTTP POST. The status message is sent to the form successfully, but the field value is not sent to a form created in LiveCycle Designer (ES4 Version 11). Here's what I have:
    <?php
    header('Content-type: application/vnd.fdf');
    // read and store the data however you want
    // reply with some FDF data
    echo <<<RESPONSE
    %FDF-1.2
    1 0 obj
    << /FDF <<
    /Status (Wham bam! Journal data sent electronically. Save a copy of this PDF for your records.)
    /Fields [ <</T(batchnum)/V(testt)>> ]
    >>
    >>
    endobj
    trailer
    << /Root 1 0 R >>
    %%EOF
    RESPONSE;
    ?>
    <?php
    I think I have tried the gamut, removed "!", "copy", "for" from the status message; adding quotes, single and double, as well as ``; spacing; changing and verifying field names; send only the /Status and sending only /Fields (btw no errors while is still not sent); and on. Additionally, the above PHP code works perfectly, sending both status and fields, on a form created in Acrobat Pro XI. But no success in LiveCycle where I need the form created to dynamically manage rows and such. Ideas? Anyone?

    It looks like the FDF you've written was designed for an AcroForm. You can still use a FDF on a XFA form, but it has to be done a bit differently. Use JavaScipt inside the FDF to set your fields. E.g.:
    %FDF-1.2
    1 0 obj
    <<
    /FDF
    <<
    /JavaScript << /After (FieldIWantTomodify.rawValue = ("My new value");) >>
    >>
    >>
    endobj
    trailer
    <<
    /Root 1 0 R
    >>
    %%EOF

  • Adobe Livecycle Designer Online, is it possible to remove this  Help Menu Item?

    I would like to remove the "Adobe LiveCycle Designer Online" from the help menu. Can this be done through the registry?

    I would like to remove the "Adobe LiveCycle Designer Online" from the help menu. Can this be done through the registry?

  • Adobe Livecycle Designer 7.0 - Text fields are not returning data on email submission-Help?

    Hello - I am using Livecycle Designer 7.0 and have created a form with different fields to be filled out and submitted via email back to me using the standard submit by email button.
    However, when the form is filled out and returned all the control field choices from both the checkboxes and the radio buttons are there - but nothing from the textbox fields is returned in the email submission. Those fields are not being returned.
    also - once they are returned how do I ensure they will repopulate via the import data into the form functionality?

    This forum is for the Adobe FormsCentral (formscentral.adobe.com) which is a service that allows you to create, collect and analyze data using an online web form. You should ask Designer related form questions in the Designer forums: http://forums.adobe.com/community/livecycle/livecycle_es/livecycle_designer_es
    I'll move your post to that forum so you don't need to retype it. They can help you out...
    Randy

  • Adobe LiveCycle Designer 7 Radio Button Help

    HELP!!!
    I have a list of radio buttons which all denote a different value.
    How do I attach this value to each button, and then make the value of that button appear in a numeric field beside it and how can I de-select the button and its value?

    Radio buttons come in groups. In LiveCycle Designer, when you select a single button, you're selecting the entire group as far as the button values are concerned. Look on the Object window. You'll find a listing there of the radio button group values, and you can edit them.
    To get a value from a radio button just use the fields name.
    In JavaScript use this code for a Radio button group named MyRadio
    MyRadio.rawValue;
    You can find out more by watching this video:
    https://admin.adobe.acrobat.com/_a200985228/p87746471/
    Thom Parker
    WindJack Solutions
    www.windjack.com
    pdfscripting.com
    The Acrobat JavaScript Reference, Use it Early and Often
    http://www.adobe.com/devnet/acrobat/

  • Help with LiveCycle Designer ES 8.2

    I created a form in LiveCycle Designer ES 8.2 with a digital signature field so that any one can open it and fill it in and add a signature in adobe reader x ver 10.1.3. However, any one that opens it gets an error that says, "the security settings on this document prevent adding text and/or placing a signature on it from Adobe Reader. To fill and sign this document you need to print it out." The whole point is to not print it out so how do I change the security settings so that anyone can digitally sign this document in Adobe Reader  X?

    The document additionally needs to be Reader-enabled with Acrobat Pro. In case someone else read this, Acrobat Standard is not capable of adding the digital signature usage right.

  • Controlling XML output Livecycle Designer 8.0

    Hello.
    I am new to XML and somewhat new to LiveCycle Designer, however I have acclimated rather well.
    Here is what I want to do:
    1) Create a PDF fill-in-form (including various fields...text, numeric, radio buttons, and some FormCalc functions)
    2) Create a Submit button that emails an XML file to the form administrator
    3) Use MS Excel to import XML files into pre-mapped fields
    Basically, I do not have server database support, and this is the best workaround (and most functional) I could come up with.
    After mapping fields in Excel, I exported the *.xsd and created a new data connection within LiveCycle. Then, I linked the schema fields with the bindings - corrected any errors, and have tested the form (form1). I made the submit button - that's all good, too. When I import the XML into Excel - that's where I have a problem, and it's not an issue with Excel to my knowledge, but rather how the form generates the XML output.
    For example, I have 25 fields that will be outputted via XML. My PDF form consists of 4 pages (8.5" x 11"). When I created the form and got to the end of the page, I "inserted new page" and went on my merry way. When I import the XML, Excel properly maps the fields, however, it does not import the info to a single row. What I have discovered is that since my PDF form consists of 4 pages (each bound to "sheet[*]"), the XML output looks like the following:
    Example of the XML output from my form:
    <form1>
    <sheet>
    <submissionID xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    >743</submissionID>
    <reviewerID xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    >234</reviewerID>
    <date xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    >24/01/2008</date>
    </sheet>
    <sheet>
    <tag1>input</tag1>
    <tag2>input</tag2>
    </sheet>
    </form1>
    Wherever there is a "<form>" tag (hence a new page in my PDF document), Excel puts that data on a new column. All fields within form1 are imported and mapped to the correct field, however importing a single XML file will occur on 4 rows.
    I bound each "page" as "sheet[*]" mostly because that is the only way I knew how to use FormCalc to do calculations from fields that occur at different places throughout the document.
    So, I have tried to be as clear as possible, and would like suggestions/help as how to control the XML output from a LiveCycle document. If I am to modify the outputted XML and remove the multiple instances of <sheet> and </sheet> then Excel imports the data just fine and on a single row.
    I would love some help on this rather specific problem. I guess it's a very basic issue that someone with experience could help.
    Thank you so much!!
    Jim

    I have a vital form that clients fill out, which is passed to many people in the company along the workflow. The form is a Planner and we have in the following PDF, Word Doc..
    Well before, the Planner.pdf was originally created in Word, since most people have access to Word.. but evolved to a PDF form created from the Word Doc via Adobe LiveCycle Designer 8.0 w/ User Rights enabled so that the form could be filled out and saved using Adobe Reader.. which was a step better than Word.. being that it is free. But this needed to be easier and more to the point b/c some clients don't particularly like installing the latest version of Reader, even if you provide them the link. Nor do they like saving the form, filling the form, and attaching the form to send back.
    My goal is to have the client fill an HTML version of the form, submit and be done with it, but everyone in the workflow be able to easily receive the filled Planner as a PDF form.
    So some months ago I ran into this post Chris Trip, "Populate Livecycle PDF from mySQL database using PHP" #8, 22 Sep 2007 4:37 pm
    which uses the command line Win32 pdftk.exe to merge an FDF file into an existing PDF on the remote server, and serve this to whoever.
    My problem was with shared hosting and having the ability to use the Win32 pdftk.exe along with PHP which is predominantly used on Linux boxes. And we used a Linux box.
    so i created the following unorthodox method, which a client fills the HTML version of the Planner, all field values are INSERTED into a table in MySQL DB, I and all filled planners that have been filled by clients to date can be viewed from a repository page where an XML file is served up of the corresponding client, but someone would have to have Acrobat Professional, to import the form data from the XML file into a blank form.. altoughh this is simple for me.. I have the PHP file already created so that when a Planner is filled and client submits. >> the an email is sent to me with a table row from the repository of the client name, #, email, and a link to d-load the XML file,
    But I also have the PHP files created so that the Planner can be sent to by email to various people in the workflow with certain fileds ommitted they they do not need to see, but instead of the XML file beiong served up i need the filled PDF Planner to be served.
    I can do this locally with ease on a testing server, but I am currently trying to use another host that uses cross-platform compatibility so i can use PHP and the pdftk.exe to achieve this, as that is why I am having to serve up an XML file b/c we use a Linux server for our website, and cant execute the exe.
    Now that I am testing the other server (cross-platform host), just to use them to do the PDF handling (and it's only $5 per month) I am having problems with getting READ, WRITE, EXECUTE permissions..
    Si guess a good question to ask is can PHP do the same procedure as the pdftk.exe, and i can eleminate it.
    or how in the heck can i get this data from the DB into a blank PDF form, like i have described??
    here are some link to reference
    Populating a LiveCycle PDF with PHP and MySQL
    http://www.andrewheiss.com/Tutorials?page=LiveCycle_PDFs_and_MySQL
    HTML form that passed data into a PDF
    http://www.mactech.com/articles/mactech/Vol.20/20.11/FillOnlinePDFFormsUsingHTML/index.htm l
    and an example
    http://accesspdf.com/html_pdf_form/

  • Is it too much to ask that a Mac user can just OPEN and USE a PDF form created by LiveCycle Designer PC software?!?

    My problem is just that- I have created all my forms using LiveCycle Designer because it is easier to make the forms accessible to individuals with disabilities.  Apparently it doesn't make Mac users have access to the forms.  I've received complaints from Mac users that cannot complete or submit the forms that I created.  I'm not asking how to recreate using another software, I know how to do that.  I'm asking is there a work around to allow a Mac user to open a PDF form or even XML (bedded within an HTML page) on a Mac computer WITHOUT having to use bootcamp, parallels, etc. and be able to complete the form and submit, print or email it?????  I've exhausted all my knowledge on this thus far and I'm hoping to find something that will help.  So far all forums talk about how Mac users need to have a PC side to their computer.  Isn't there another way?
    I've attached an example form that we are no longer using (though still created exactly the same as the others)
    Thanks!

    Hi, as far as I can infer, that term means it's not loading any resources until needed, opposite of this...
    -bind_at_load
                     Sets a bit in the mach header of the resulting binary which tells dyld to bind all symbols                when the binary is loaded, rather than lazily.
    https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/ man1/ld.1.html
    Load resources lazily.
    You should never load a resource file until it is actually needed. Prefetching resource files may seem like a way to save time, but this practice actually slows down your app right away. In addition, if you end up not using the resource, loading it wastes memory for no good purpose.
    http://developer.apple.com/library/ios/#documentation/iphone/conceptual/iphoneos programmingguide/PerformanceTuning/PerformanceTuning.html
    And, higher OS versionsare even worse with Bonjour/mDNSResponder, but might see this...
    http://support.apple.com/kb/ht3789

  • Adobe LiveCycle Designer ES closes every time I open it :(

    Hello all, I want to thank you beforehand for the help regarding this matter. I use Windows Vista and my Adobe LiveCycle Designer was working before but for the last week and a half or so I have not been able to get it to work! I have done scandisk/defrag/and have multiple software to keep my computer clean so I have taken those precautions beforehand. To the problem...:
    My Adobe LiveCycle Designer opens up and it was working previously as mentioned, but when I try to open it by either opening or converting a form or creating a new form with a template, I am not able to as it gives me an error message and closes! It gives me an error message of "Adobe LiveCycle Designer ES has stopped working" and a screenshot of this is provided at the following link:
    http://www.mediafire.com/imgbnc.php/bc59d422150595157c212a5b181313244g.jpg
    I don't know what to do and wanted to see if I could solve this problem before I was forced to try to manually reinstall it so hopefully I don't have to go through that. I appreciate the help once again!

    I am dealing with the same problem. I called Adobe technical support and spent hours to fix the problem but none worked. I tried to explain them the error might be caused by the Activation process but they just made me uninstall and install application several times.
    When I start LiveCycle it gives the following error: adobe livecycle designer es has stopped working.
    I start debugger to see what's going on and get the following exception: Unhandled exception at 0x773db663 in FormDesigner.exe: 0xC015000F: The activation context being deactivated is not the most recently activated one.
    Does anyone know how to deactivate this product manually? Because deactivate menu is dimmed and I cannot deactivate product from the program. I believe if I can just remove activation info and activate it again this problem might disappear.
    Thanks

  • My Adobe LiveCycle Designer ES closes when I open it....:(

    Hello all, I want to thank you beforehand for the help regarding this matter. I use Windows Vista and my Adobe LiveCycle Designer was working before but for the last week and a half or so I have not been able to get it to work! I have done scandisk/defrag/and have multiple software to keep my computer clean so I have taken those precautions beforehand. To the problem...:
    My Adobe LiveCycle Designer opens up and it was working previously as mentioned, but when I try to open it by either opening or converting a form or creating a new form with a template, I am not able to as it gives me an error message and closes! It gives me an error message of "Adobe LiveCycle Designer ES has stopped working" and a screenshot of this is provided at the following link:
    http://www.mediafire.com/imgbnc.php/bc59d422150595157c212a5b181313244g.jpg
    I don't know what to do and wanted to see if I could solve this problem before I was forced to try to manually reinstall it so hopefully I don't have to go through that. I appreciate the help once again!

    Hi,
    I have a few screenshots here that show Windows XP and Vista: http://forums.adobe.com/message/2226510#2226510.
    C:\Users\Username\AppData\Roaming\Adobe\Designer\8.2\
    In addition it is the same location for Windows 7:
    Good luck,
    Niall

  • Adobe LiveCycle Designer ES closes when I open it...

    Hello all, I want to thank you beforehand for the help regarding this matter. I use Windows Vista and my Adobe LiveCycle Designer was working before but for the last week and a half or so I have not been able to get it to work! I have done scandisk/defrag/and have multiple software to keep my computer clean so I have taken those precautions beforehand. To the problem...:
    My Adobe LiveCycle Designer opens up and it was working previously as mentioned, but when I try to open it by either opening or converting a form or creating a new form with a template, I am not able to as it gives me an error message and closes! It gives me an error message of "Adobe LiveCycle Designer ES has stopped working" and a screenshot of this is provided at the following link:
    http://www.mediafire.com/imgbnc.php/bc59d422150595157c212a5b181313244g.jpg
    I don't know what to do and wanted to see if I could solve this problem before I was forced to try to manually reinstall it so hopefully I don't have to go through that. I appreciate the help once again!

    Shawn,
    This may be a couple of known things; one is related to your specific installation (may have become corrupted if you did an upgrade from a previous version, especially if you upgraded from Beta?) Or, it may be related to a known SQL Server compatibility bug for which a hotfix will shortly be posted. (Problem with some Microsoft DLLs that get updated if you install SQL server).
    If you have SQL Server installed, try looking on these forums for a patch that should be posted within the next 2 days. If not - please contact me directly, as I'd like to get someone on my development team to help look through your installation and see what the problem is, so we can fix this properly.
    Mike

  • How can I use a script in a Livecycle Designer form, to force display of text in Title Case?

    Hello,
    I am a 'novice' who is DIY'ing the construction of a dynamic pdf form, using Adobe Livecycle Designer 7 (I know, it's a VERY old version!)
    [So, any help that comes along must be 'for Idiots'!]
    I need to construct a code (Java script?) so that a few of my text-fields DISPLAY data in Title Case - IRRESPECTIVE of how the user types in the data.
    So, for example, in a "Address" text-field...
    If someone types in ..
    "205 sherborne avenue"
    - OR -
    "205 Sherborne avenue"
    - OR -
    "205 SHERBORNE AVENUE"...
    I need the data to be DISPLAYED ESSENTIALLY as...
    "205 Sherborne Avenue".
    I found the following code online, and tried it in the 'exit' event of the field I need to modify (with 'language' selected as JavaScript)...
    <   this.rawValue = this.rawValue.replace(/\b([a-z])/g, function (_, initial) {return initial.toUpperCase();});   >
    ... This did convert all the 'initial' letters of the words to Upper Case - AS LONG AS they were not ALL typed in Upper Case!
    So, that code worked for the first two of my samples for Sherborne Avenue above - but it did NOT work for the last one...
    That is, "205 SHERBORNE AVENUE" did NOT get converted to Title Case - which is what I need help with.
    Thanks in advance...

    Hey TundraSteve,
    Thanks a tonne!
    Works perfectly!!!
    In fact, your solution is so elegant and direct, that even I am beginning to get a sense of how it works... I have looked at LOTS of similar codes in the past few days, but was not at all getting a sense of how they are working! But comparing your solution with the earlier one I mentioned, I am beginning to get a sense of things!
    Any suggestions for what I should read-up in order to understand this king of coding?
    I have basically been using the built-in 'Help' - and, trial-and-error - and I have designed my first form - a pretty elaborate one, actually!
    So, it would be great if you could guide me through the 'learning curve' a bit!
    [I have figured-out the 'basics' - that is, I can lay out the form, use 'if-expressions' (FormCalc), trigger events, even build Subforms that are hidden but 'appear' when triggered by other actions, and so on. What I can't figure out are the various 'code languages' (syntax?) that are being used - like " var sometext", for eg.!]
    Cheers, and thanks again!

Maybe you are looking for