What makes a value appear

Hello

I am new to scripting in Acrobat.  I'm a total of 45 minutes.  I need a little help.

I create a poll with several boxes of choice.  The answers to these buttons generate a point value.  The value of total questions point appears as a sum.  Pretty easy.

I also have a page with what looks like a table (but isn't, its rows and columns of fields).  I have 28 rows and four columns.

Each column represents a series of questions, as mentioned above.  The lines represent the possible total score of these issues.

Example - there are seven questions.  The possible answers will generate a value of 0 to 4.  The sum of all responses can then be 0 - 28.

The 'table' has 28 lines, labeled 28 up to zero at the bottom, which represents each possible result.

What I need to do, is to have the total score for this series of questions appear as the score in the appropriate field.  Thus, if the total score is 16, so I need the number 16 to appear in the 16th row and nothing else appear in the other 27 lines.

So with absolutely no knowledge of scripting languages, my best guess on this would be.

If (fieldname16 = 16)

then print 16

Another null

I wasn't even close? Laughing out loud

I guess it's a very simple script. I tried bing/google search... I watched a few videos on Lynda.com... I looked at various resources from Adobe, but nothing helped.  I hope someone can help me relatively easily.

Thanks in advance

You will have to clean your domain names for response 4 and 20.

The calculation script customized to the domain of the total score:

set a variable for the amount ot the issues:
var sum = 0;
variable to the value of a given question
var score = 0;
Browse questions 1-28
for (i = 1; i< 5;="" i++)="">
get the question i
score = this.getField("Input-Answer"_+_i).value
score the sum if a box is chekced
If (score! = "Off") sum += Number (score);
} / / end of loop
Event.Value = sum;
Clear the field results
Invoke the var = new Array ("Answer0", "Answer1",
"Answer2", "Answer3", "Answer4", "Answer5."
"Answer6", "Answer7", "Answer8", "Answer9."
"Answer10", "Answer11", "Answer12", "reponse13."
"Answer14', 'Answer15', 'Answer16', 'Answer17 ',.
'Answer18', 'Answer19', "Answer20");
this.resetForm (aFields);
If (sum! = 0) {}
put the value into the appropriate line
this.getField('Answer'_+_sum).value = amount;
}

Tags: Acrobat

Similar Questions

  • Simple question? What is the value proposition of Muse, which makes the special muse? I just want to see what think

    What is the value proposition of Muse, which makes the special muse? I just want to see what people think.

    Please refer to the explanation of Brian on the product:

    https://forums.Adobe.com/message/4580442

    Thank you

    Sanjit

  • What makes popup appear on a specific region of the page

    Hello

    I use jdev 11.1.2.2.

    I have a fragment jsff with a popup defined in him and that is invoked in a bean. When the popup is invoked it appears in the middle of the screen. How can I make the popup appears in the lower right corner of the screen or any other specific location similar to the download notification in browsers?


    Thank you
    Rakesh

    Hello.
    Try the Cvele_new_account with the code

    RichPopup.PopupHints.AlignTypes.ALIGN_START_BEFORE);

    http://docs.Oracle.com/CD/E14571_01/apirefs.1111/e10684/Oracle/ADF/view/rich/component/rich/RichPopup.PopupHints.AlignTypes.html

  • What makes "new queue path" to write to the File.vi worksheet? I need a better explanation than what is given.

    You are looking for assistance.

    What makes "new queue path" to write to the File.vi worksheet?  I need a better explanation than what is given.

    Thank you.

    You can call this function without wiring to a path of the input file.  If this is the case, the function prompts the user for input file using a pop up dialog box.  If a file is selected and you press OK, it is the path of the file that is out of the function as the new path of the file.  If you press the button cancel instead of OK, the "not a path" constant is the new output file pathname.  If the function is called with a wired file path entry dialog box appears, the same path of file entry becomes the new output file path.

  • How can I make my favorites appear in bold?

    original title: How can I make my favorites appear in bold? I've seen bad eye.

    How can I make my favorites appear in bold? I've seen bad eye.

    Hello

    What operating system do you use?

    Here are the articles that might help you to change the font style to "BOLD" for all items on the windows Explorer. It is not possible to change the font style for my favorites.

    You may need to select the icon, under the drop-down list of items, seemingly advanced (for windows XP) or Windows color and appearance (for windows vista and 7).

    To change your window fonts
    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/display_ct.mspx?mfr=true
    Change Windows fonts
    http://Windows.Microsoft.com/en-us/Windows-Vista/change-Windows-fonts
    Change Windows fonts
    http://Windows.Microsoft.com/en-us/Windows7/change-Windows-fonts

  • What are the elements appear on the screen of the ATV 4

    What are the elements appear on the screen of the Apple TV4

    Initially just the settings and a few applications for iTunes movies, music, TV shows etc, then this is all the apps that you download from the store.

  • What does Apple thunderbolt 2/USB 3.0? How is in Fusion different to any other storage? What makes a keyboard 'magical '?

    Decode Apple Sales-talk!

    What Apple meant by thunderbolt 2/USB 3.0 by referring to a workout accessories?

    How is in Fusion different to any other storage?

    What makes a keyboard 'magical '?

    Sorry, but it's the only category I found in the list of Apple that came even close to my questions. I can be in the market for a new computer. but cannot decode their advertising messages.

    1 specification: differences in speed and compatibility.

    2. merger of the drive is about a 'road' with a (small) part of SSD and HARD drive part (large) normal: he saw the day when SSDS were expensive. The FusionDrive software alone decides where files are placed, to ensure that common among the files are on the SSD and weak files used are on the SSD. I think that it is very obsolete. You have no influence where are the files and it creates several writings more than 'normal' operating system software

    3 "magic aahhhh": it's a label only.

  • After removing system Antivirus care of my PC, I got an error message in function recycle something w / drive c. I clicked on OK and nothing of what is removed now appears in the Recycle Bin.

    After all functionss suggested or recommended to rid the SCA, I got an error messge something on recycling function was not in the c drive and I clicked OK. Now, when the Recycle Bin is opened after deleting without elements appear. Is there a correction/fix for this?

    Moved from feedback

    Original title: after having rid SCA from my PC I hade an error message in the function recycle something w / drive c. I clicked on OK and nothing of what is removed now appears in the Recycle Bin. This can be corrected?

    I'll have to check your other thread, but,.

    1. a single antivirus can be installed and running in real-time

    2. you can run malware and spyware like on DEMAND scanners only

    3. If you install MSE, all previous installed antivirus must be completely removed before installing mse

    4. Please read this checklist:

    http://experts.Windows.com/w/experts_wiki/89.aspx

    MSE installation checklist

  • What makes some disabled applications enabled by themselves?

    Hello world. I disabled some apps on my cause Z2 that I don't use, but sometimes that I found them new activated by themselves or something that I don't know. It makes me angry cause I have to disable it again. I just want to know what makes them activated again if I don't use them or type on them. I sometimes use the endurance mode, and I always use the kit kat 23.0.1.A.0.167.

    Can someone help me?

    Thank you.

    If you really want to disable applications and make them invisible from the draw to the app/window spell then try Debloater found here with instructions - it may or may not work and you do not need to be rooted for this program works

  • What is the value of registry key "Default" in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

    What is the value of registry key "Default" in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

    Hello

    (Default)                            REG_SZ (value not set)
    {3D644C9B-1FB8-4f30-9B45-F670235F79C0} REG_EXPAND_SZ %PUBLIC%\Downloads
    Common AppData REG_EXPAND_SZ ProgramData %
    Common REG_EXPAND_SZ Office %PUBLIC%\Desktop
    Common REG_EXPAND_SZ %PUBLIC%\Documents Documents
    Common programs REG_EXPAND_SZ %ProgramData%\Microsoft\Windows\Start start\program
    Common Start Menu REG_EXPAND_SZ %ProgramData%\Microsoft\Windows\Start Menu
    Common Startup REG_EXPAND_SZ %ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup
    Common models REG_EXPAND_SZ %ProgramData%\Microsoft\Windows\Templates
    REG_EXPAND_SZ CommonMusic %PUBLIC%\Music
    REG_EXPAND_SZ CommonPictures %PUBLIC%\Pictures
    REG_EXPAND_SZ CommonVideo %PUBLIC%\Videos

    You can do a Reg file copying between the lines and paste into Notepad and save as a. REG file as
    UserShellFolders.REG

    --------------------------------------------------------------------------------------------

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\User Shell Folders]
    "Common Desktop" = hex (2): 25, 00, 50, 00, 55, 42, 00, 00 4 c 00, 49, 00, 43, 00, 25, 00, 5 c, 00,------.
    44,00,65,00,73,00, 6B, 00, 74, 00, 6f, 00, 70, 00, 00, 00
    "Common document" = hex (2): 25, 00, 00, 50, 00, 55, 00, 42, 00, 4 c, 49, 00, 43, 00, 25, 00, 5 c,
    00,44,00, 6f, 00, 63, 00, 75, 00, 6 d, 00, 65, 00, 6F, 00, 74, 00, 73, 00, 00, 00
    "CommonPictures" = hex (2): 25, 00, 50, 00, 55, 42, 00, 00 4 c 00, 49, 00, 43, 00, 25, 00, 5 c, 00,------.
    50,00,69,00,63,00,74,00,75,00,72,00,65,00,73,00,00,00
    "CommonMusic" = hex (2): 25, 50, 00, 00, 55, 00, 42, 00, 4 c 00, 49, 00, 43, 00, 25, 00, 5 c, 00, 4 d,
    00,75,00,73,00,69,00,63,00,00,00
    "CommonVideo" = hex (2): 25, 00, 50, 00, 55, 42, 00, 00 4 c 00, 49, 00, 43, 00, 25, 00, 5 c, 00, 56,------.
    00,69,00,64,00,65,00, 6f, 00, 73, 00, 00, 00
    "{3D644C9B-1FB8-4f30-9B45-F670235F79C0}" = hex (2): 25, 50, 00, 00, 55, 00, 42, 00, 4 c, 00,------.
    49,00,43,00,25,00 5 c 00, 44, 00, 6f, 77, 00, 00, 6F, 00, 6 c, 00 6f 00 61 00, 64, 00, 73,------.
    00,00,00
    "Common Start Menu" = hex (2): 25, 00, 50, 72, 00, 00 6f 00, 67, 00, 72, 00, 61, 00, 6 d, 00, 44,------.
    00,61,00,74,00,61,00,25,00, 5 c, 00, 4 d, 00, 69, 00, 63, 00, 72, 00, 6f, 00, 73, 00, 6f, 00,------.
    66,00,74,00 5 c 00, 57, 00, 69, 00, 6F, 00, 64, 00, 6f, 77, 00, 00, 73, 00, 5 c, 00, 53, 00, 74,------.
    00,61,00,72,00,74,00,20,00, 4 D, 00, 65, 00, 6F, 00, 75, 00, 00, 00
    "Joint programmes" = hex (2): 25, 50, 00, 00, 6f 72, 00, 00, 67, 00, 72, 00, 61, 00, 6 d, 00, 44, 00,------.
    61,00,74,00,61,00,25,00, 5 c, 00, 4 d, 00, 69, 00, 63, 00, 72, 00, 6f, 00, 73, 00, 6f, 00, 66,------.
    00,74,00 5 c 00, 57, 00, 69, 00, 6F, 00, 64, 00, 6f, 77, 00, 00, 73, 00, 5 c, 00, 53, 00, 74, 00,------.
    61,00,72,00,74,00,20,00, 4 d, 00, 65, 00, 6F, 00, 75, 00, 5 c, 50, 00, 00, 72, 00, 6f, 00, 67,.
    00,72,00,61,00, 6 D, 00, 73, 00, 00, 00
    "Common Startup" = hex (2): 25, 00, 50, 72, 00, 00 6f 00, 67, 00, 72, 00, 61, 00, 6 d, 00, 44, 00,------.
    61,00,74,00,61,00,25,00, 5 c, 00, 4 d, 00, 69, 00, 63, 00, 72, 00, 6f, 00, 73, 00, 6f, 00, 66,------.
    00,74,00 5 c 00, 57, 00, 69, 00, 6F, 00, 64, 00, 6f, 77, 00, 00, 73, 00, 5 c, 00, 53, 00, 74, 00,------.
    61,00,72,00,74,00,20,00, 4 d, 00, 65, 00, 6F, 00, 75, 00, 5 c, 50, 00, 00, 72, 00, 6f, 00, 67,.
    00,72,00,61,00, 6 D, 00, 73, 00, 5 C, 00, 53, 00, 74, 00, 61, 00, 72, 00, 74, 00, 75, 00, 70, 00,------.
    00.00
    "Common AppData" = hex (2): 25, 00, 50, 72, 00, 00 6f 00, 67, 00, 72, 00, 61, 00, 6 d, 00, 44, 00,------.
    61,00,74,00,61,00,25,00,00,00
    "Models of communes" = hex (2): 25, 50, 00, 00, 6f 72, 00, 00, 67, 00, 72, 00, 61, 00, 6 d, 00, 44,------.
    00,61,00,74,00,61,00,25,00, 5 c, 00, 4 d, 00, 69, 00, 63, 00, 72, 00, 6f, 00, 73, 00, 6f, 00,------.
    66,00,74,00 5 c 00, 57, 00, 69, 00, 6F, 00, 64, 00, 6f, 77, 00, 00, 73, 00, 5 c, 00, 54, 00, 65,
    00, 6 D, 00, 70, 00, 6 C 00, 61, 00, 74, 00, 65, 00, 73, 00, 00, 00

    ------------------------------------------------------------------

    Hope these helps.

    Rob - bicycle - Mark Twain said it is good.

  • I have a white box that appears in the upper left corner of my screen that I don't know what caused it to appear

    Original title: white spot on screen

    I have a white box that appears in the upper left corner of my screen that I don't know what caused it to appear, my scans came back clean and all system also removes ok, nobody knows what it is or what the cause and better yet how get rid of? I am running windows 7 home.

    Thanks for the info and help! It turned out to be a malicious program that I have my computer in the start of the part of my computer, once I found and removed, the issue and a few other hick-ups disappeared.

  • What is the value of a registry entry "PromptRunasInstalNetPath" Windows for?

    What is the value of a registry entry "PromptRunasInstalNetPath" Windows for?

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies]

    "PromptRunasInstalNetPath" = DWORD: 00000001; Guest ' run as ' install Net way -?

    It is not yet in the "WindowsServer2008R2andWindows7GroupPolicySettings.xlsx" Microsoft Excel spreadsheet Data-Base; so that is it for exactly?

    Ditto for the following RegEntries 3:

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Network]

    "NoWorkgroupContents" = DWORD: 00000000. No content of working group -?

    "NoFileSharing" = DWORD: 00000001; No file - sharing?

    "NoPrintSharing" = DWORD: 00000001; No print sharing -?

    JPD

    Hi JPD.

    Thank you for visiting the Community Forums of Microsoft.

    We don't have enough resources to provide a good explanation for this query. It is better suited for the professionals on the TechNet Forums. So, please post your question on the Forums Pro TechNet Windows 8 IT from this link:

    http://social.technet.Microsoft.com/forums/Windows/en-us/home?category=w8itpro

    Hope this information is useful.

  • What makes windows not genuine OS?

    I don't understand not what makes a non-genuine BONE. A pirated version of windows that is turned on and gets updates is genuine or not genuine? I have a friend who has a pirated version of windows 7 that is enabled and does not say that it is not authentic, and I want to know if he can get the upgrade to windows 10

    Hello Alexcs165,

    Since your friend is using Windows 7, you can read the Article on Validation: http://windows.microsoft.com/en-my/windows/help/genuine/what-is-validation (you can send the link to your friend also)
     
    A pirated Version of Windows cannot receive Windows Update option (except security) updates. For more information, refer to this Article: http://windows.microsoft.com/en-US/windows/help/genuine/faq
    If you meant "Activated", is this a genuine product key purchased from Microsoft or is it generates by product key generator programs?

    Your friend can get the upgrade to Windows 10 any if it is authentic or inauthentic by installing all the Windows updates available and there will be a Windows icon on the lower right of the task bar. For more information on Windows 10 upgrade, refer to this Article: http://www.microsoft.com/en-us/windows/windows-10-upgrade

    Your friend can do a clean install using only an ISO of Windows 10 file, but it will not work with the Windows 7 product key. To ensure that it remains enabled, use the Suggestion in the 4th paragraph

    If the Windows 7 there is pirated Version and not activated, he can always upgrade to Windows 10 but it will remain as a pirated Version. A pirated Version of Windows can be changed for an authentic product by buying a product key for the Version of Windows and then activate it via the PC settings.

  • What makes the update Windows 8.1 so critical?

    What makes updating Windows 8.1 for windows 8.0 so critical!

    (Either a microsoft MVP to be approved as response staff)

    (Not to be confused with Windows Update 8.1)

    Hello

    Here is the reason:

    http://Support2.Microsoft.com/GP/lifewinfaq?WA=wsignin1.0

    7. What is the policy of the policy of Support for Windows 8.1?

    Windows 8.1 is part of the same strategy of life cycle of Windows 8 and reaches the end of the main Support on 9 January 2018 and phase end of Support extended on 10 January 2023. With the general availability of Windows 8.1, clients on Windows 8 have 2 years, until January 12, 2016, to move to Windows 8.1 in order to remain supported.

    See you soon.

  • What is the value of the PublicKeyToken for managed Oracle Driver 4.121.2.0

    What is the value of the PublicKeyToken for managed Oracle Driver 4.121.2.0?

    For version 1, it was

    type="""Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version = 4.121.1.0, Culture = neutral, PublicKeyToken = 89b483f429c47342"" " / >

    Well the token seems to always work for ODAC 12cR3 worm 4.121.2.0

    Type = "Oracle.ManagedDataAccess.client.OracleClientFactory, Oracle.ManagedDataAccess, Version = 4.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342" / > "

Maybe you are looking for