How do can I have the form fill in a check box if the user has entered text in a textbox?

I have a form that is submitting an xml data file that is picked up by MS Word and used to populate a document. However, there's a 'Miscellaneous' field where the user can type in addtional information that would not drop easily into the Word document (exceptions, items not on the drop down lists, etc.). I'd like to test to see if that Miscellaneous field has infomation in it and if it does, to set a invisible checkbox to "1" so that I can insert a text message in the Word document that there's additional information in the .pdf form that will have to be addressed manually in the Word document.
I've tried
if(Misc.rawValue !== "")
otherinfo.rawValue = 1;
but while it doesn't generate a Javascript error, it doesn't set the value either, and I haven't found any function that checks for whether a field is empty. I'm sure there's got to be a way to do this, but I'm stumped. Any help greatly appreciated!
Bill

It appears you are using LiveCycle Designer, so you will have to use the syntax of FormCalc or LiveCycle Designer JavaScript.
For FormCalc:
if(HasValue(Misc)) then
otherinfo = 1
else
otherinfo = 0
endif
For JavaScript
if(HasValue(Misc.rawValue))
otherinfo.rawValue = 1;
else
otherinfo.rawValue = 0;
I added code to clear the check box if the user clears the field.

Similar Messages

  • How i can Insert selected records in database table using check box.

    Hi Friends,
    I have non database block, which displayed multiple records, now I add a Check Box to this block and now I want to insert the records in a database table which I checked. So when I press a button, all the checked records are inserted in the table.
    Please send me the code of this solution.
    Thanks in advance.
    Shahzad

    I have almost the exact scenario but instead of inserting into the DB, I want to find the Checked records and process them in PL/SQL script.
    I currently have a cursor that looks for all the checked records. It's only getting the first record, so I figured I need to loop through the block looking for checked records.
    Also can I save them to a temp or PL/SQL table to process later?

  • Edit form fields to be check boxes?

    once the fields have been automatically made, how do you make them check boxes?

    Hi jaya67496045,
    Could you please be more specific on the same.
    What type of form fields have you used in the PDF that you wish to convert to check boxes?
    Using Acrobat, you can simply choose "Tools> Forms> Edit" and add check box to the desired place in the PDF.
    Is this what you really wish for?
    Please let me know.
    Regards,
    Anubha

  • How to Prepopulate check boxes in the process form

    Hi All,
    I need to prepopulate "Change Password at next login" in the AD Process Form. i.e. if some one select this check box in the user creation form and create a user, i need to prepopulate it in the AD process Form. Currently, it is not prepopulated. So, it is not updated on the Active Directory. I'm using AD Connector pack 9.1.1 .
    I need to prepopulate the "User must change the password at next logon" check box in the AD Process Form. I have done the prepopulate on text fields. They are working fine.
    But, stuck with this check box prepopulation.....
    Can anyone help me on this issue....
    Regards,
    Chaturanga
    Edited by: chaturanga on Sep 9, 2009 2:35 PM

    Even if you get the checkbox right it is not entirely clear that the connector will read the box correctly. It all depends on how the connector code was written.
    An alternative is to set the LDAP attribute through a custom connector. Email me if you want example code for this.
    Best regards
    -Martin

  • Forms - Radio Buttons as check boxes which turn into circles - Need them to stay as check boxes.

    Hi
    I am working on some forms for Teachers Reports it is a generic document for student reports. I have set the document in Indesign 6 and edited the pdf form in Acrobat Pro.
    The form consists of Radio Buttons (Check Boxes) as they have to score the child between 1-4 and the teacher is only allowed to select 1 box from out of the 4 boxes (hence radio buttons) .
    The problem we are having is that there might be 2-3 teachers that have to write and score each child's in a certain section of the report and they might use a PC or MAC to do this.
    For some reason, some of the reports have changed the Radio Button "Check Boxes" to a "Circle" both in the PDF and when printing and they need it to be a Check box. (In indesign this was set to Check Box and to print as a Check box)
    Some how after the teachers have used different computers the check boxes have changed to circles and we need to change them back to check boxes but is there a way to change them without having to go "Forms" > "Edit" > "Select all circles" > "Properties" > "Options" > "Button Styles" > "Change to Check".
    But it is not changing to all of the reports on some.
    Is there an easier option can select properties and search the "circles" and change to "check boxes" for the whole document?
    I really don't want to have to go into each report and have to change each individually or export and import the data in the forms and the teachers dont want to have to rewrite each report.
    Someone please help!

    Are all of the teachers using Adobe Reader (or Acrobat), as opposed to something like Preview on tha Mac or Microsoft Reader on Windows? Preview is known to corrupts PDF form in a number of ways, including converting radio buttons to check boxes. Microsoft Reader causes other types of corruption. Also, if you create the fields in InDesign, it uses non-standard appearances for the various states and even Reader/Acrobat doesn't always set them in the way you might expect, so it's best to create them in Acrobat.
    Your description is a bit confusing since you're calling them radio buttons and check boxes at the same time. Can you clarify what the original field type is?
    It is possible to set the various field appearance properties with a script, which could loop through all of the fields and make the needed changes, but without more information about what's causing the changes and exactly what the changes are, it's hard to suggest anything specific.

  • I have created a form & added it to my website. It tests ok but....on top of the the form is a message ....An error has occured.....What is the error and how do I find It ?

    I have created a form & added it to my website. It tests ok but....on top of the the form is a message ....An error has occured.....What is the error and how do I find It ?
    REM

    There are various was to return a filled-in PDF form but many require some detailed information about what product the person filling in the form will be using.
    As noted above the form can be filled out and faxed or snail mailed to you.
    Since Acrobat 3 the form could be submitted to a scripted web page and have the web server perform the tasks necessary to return the data to you.
    Since Acrobat 6 the creator could add special "Extended Form Rights" to the form so users with Reader version 5 or better could save the form and email the form.
    For mobile devices the app the user will be using will determine how or if the form can be returned.
    Do not allow users to use Apple's Preview application on the Macintosh. It will corrupt the form in many ways.

  • Pls tell me how I can convert a PDF form to a Word doc, and have radio buttons etc work?

    Pls tell me how I can convert a PDF form to a Word doc, and have radio buttons etc work?  My PDF form did convert using Adobe PDF Export.... but the formatting is a schamozzle if I try to do anything with it.  Most importantly, I need the check boxes and radio buttons to work in Word!

    Checkboxes and radio buttons are form objects from Acrobat.  There is no equivalent for these objects, with the way they were constructed, within Word.
    I'm sorry for the inconvenience.
    David

  • Can more than one email get a copy of the form filled out

    Can more than one email get a copy of the form filled out?  Not a link but the data from the form.

    I have the copy of the form coming to my main email but I need it to go to a second email address.  right now the 2nd email address only gets a link.  I do not want them to have access to the account only to get a copy of the data.  I have them set up under Email Notifications as a "reader".

  • How I can go back to former version of firefox, because the new one is unacceptable bad.

    How I can go back to former version of firefox, because the new one is unacceptable bad.
    I am just a computer and internet user, if you can't imagine what that's means, then I need to use and promote other web browsers.
    I am really mad about the update, who is worthless!
    sorry !
    think about your reputation and do fast better.
    sorry for my poor English
    greetings Dirk ( Scorpio.Irondragon)

    Try to drag the current Firefox application to the trash if you can't replace it.

  • How can u have lock rotation off and mute feature off at the same time

    How can u have lock rotation off and mute feature off at the same time

    Maybe this will help. The link at the bottom is the same one that was posted above.
    System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
    Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
    If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
    If you have the side switch set to lock screen rotation then the system sound control is in the task bar. Double tap the home button and in the task bar at the bottom, swipe all the way to the right. The speaker icon is all the way to the left. Tap on it and system sounds will return.
    If you have the side switch set to mute system sounds, then the screen lock rotation can be accessed via the task bar in the same manner as described above.
    This support article from Apple explains how the side switch works.
    http://support.apple.com/kb/HT4085

  • Can i have creative cloud package installed on 2 computers from the same account? if so how do i do it?

    Can i have creative cloud package installed on 2 computers from the same account? if so how do i do it?

    You can activate the subscription on two computers.
    To install the products refer
    Creative Cloud Help | Install, update, or uninstall apps

  • My brother and i just got our first iphone and want to know how we can both have the same itunes account

    My brother and i both just bought iphones and want to know how we can both have one itunes account and share our music.  our phones are on the same plan and i am paying for the bill. so my question is is this possible?

    Yes. It is possible. Just sign in to your Apple ID on both of your iPhones in the App Store.

  • How can I format a field to have a Check Box in the center.

    I am a new adobe user and I am creating a form in Adobe LiveCycle Designer. Most of what I needed to do I was able to figure out, but I cannot find a way to place a Check Box in the center of a chosen field. Each time I use the Check Box from the library it automatically places the Box in the center-right of the field. Then when trying to format the paragraph, I get no options about where I'd like the box to reside within the field. Is there a simple way to get a Check Box into the center of a Field or will I have to pursue other options. If I do have to pursue other options are there any ways to limit a text to an X and have it either be On or Off?
    Thanks for your aid.

    This behaviors usually happens when you create the fields but  a copy paste command from one of the fields. The copy paste command assumes that your intentions is to maintain a copy of the field in two separate locations (e.i, a form field  "company name" printed in each and every page of a multi-page form document.
    Go to the properties fields of each field and make sure  to assign unique form field  names.

  • Can you have a form that you create in forms central a routable form?

    Can you have a form that you create in forms central a routable form?

    Hi;
    There isn't anything specifically to route a form in FormsCentral but I have proposed to a few users they could take advantage of the new "Save Web Form" feature and by instructing users in the form how to route it would be able to accomplish a routing "work flow": http://forums.adobe.com/message/5917475#5917475
    Thanks,
    Josh

  • I have 3 i phones.  Can I have multiple accounts on one computer where it keeps the contacta and calendar for each?

    I have 3 i phones.  Can I have multiple accounts on one computer where it keeps the contacta and calendar for each?

    My daughter and I both have iphones. I created an account (not separate itunes) for her on my computer so she could sync her phone/itunes but not have it interfere with mine since we have WAY different taste in music. Creating a different computer profile should work if you have separate itunes accounts, too.
    If you all use the same itunes account, you can turn on Home Sharing. That way you can all download the same content without having to pay for it again. Not sure how or if that works with separate itunes accounts.
    Hope that helps!

Maybe you are looking for

  • No Computer Will Reconise My Ipod Touch 2nd Gen. And Itunes Wont Download On My computer..

    ok so since about 2 weeks ago i have not be able to use my ipod touch. my cord broke and it died. took about 5 days for my cord to come in the mail.but when i got it my ipod wouldnt charge, or sync to my computer. i spent all day searching the web fo

  • Navigational Attributes in InfoSets[based on InfoCubes] - BI 7.0

    Hi Gurus, I am using BI 7.0. We tried creating a MultiProvider based on three SD Cubes[Orders/Billing & Delivery] but since the result was being displayed in 3 rows instead of 1, we tried using an InfoSet to see if this would get the results to be di

  • Poor internet connectivity

    Just purchased new 2011 MacBook Pro, and find it performs very poorly with wireless internet in my home. My old iBook and a PC laptop I have both have no problem picking up the signal from my preferred location, downstairs from the wireless router. B

  • Oracle DB 11g Express Edition Find directory home path in Windows 7

    Hello, I am working through a PL/SQL Programming book and I am on PROGRAM UNIT DEPENDENCIES. As I work through the examples it asks me to use the Dependency Tree Utility by running this script in SQL*Plus: @<path to Oracle Home directory>\rdbms\utldt

  • YouTube and Add-ons say version of Firefox is outdated

    Both YouTube and newer Add-ons for firefox say that I am running an outdated version, specifically version 2.0.0.9. However, when I check for updates in the browser firefox says that I am running the current version. I have uninstalled and reinstalle