Rating in the form of handling

I do not know how to handle this situation:

I have a form with a number of sections, with multiple questions in each section. All questions can be answered by Yes, no or n/a. I've set up a table for questions with three possible answers to each question in a drop-down list in the second column.

How does the rating is as follows: Yes is worth a certain number of points (not always the same) and is no point. N/A response is worth zero points but also reduces the possible number of points for the section. The total is calculated as a percentage.

For example, if there are 50 questions with a possible perfect score of 50. Each answer Yes = 1 point and a score of 100% and each answer No. decreases the total score. Therefore, if there are 2 answers to no., the score is 96%.

If the answer to question 1 is n/a and the other 49 questions are answered Yes, the score would still be 100%.

I don't know how to handle the score. Any help would be appreciated.

Thank you

MDawn

HI Margaret,.

Here is an example with five questions: https://acrobat.com/#d=ZK6RKqwW8DIICImPj2wsDg

The script is located in the available brands and brands scored calculate events.

It is based on a loop in the drop-down lists and looking at their values. Yes = 1, no = 0 and n/a = - 1.

Hope that helps,

Niall

Tags: Adobe LiveCycle

Similar Questions

  • Details of the form sent to email

    Hello

    I created a form and I want the details of the form to send to an email address.  I put the email address in and tested the details to my email as an attachment named POSTDATA.  How can I get the details to go directly into the email as an attachment.  There is also a field to upload a file and I want this file to be an attachment to the email.

    The form is http://www.locumexpress.ie/online%20registration.html can someone tell me how to do this.

    Thank you

    Natasha

    You will need something a little more "robust" than to the action of a form e-mail address if you want to support the upload of a file.

    An address using e-mail as the action of the form is a little hit and Miss when the form data handling.

    Your server supports a server like php language?

    If she then takes a look at this free mail Manager (link below). It is easy to implement since it comes with full pdf instructions.

    http://www.MindPalette.com/scripts/index.php#PFAnchor

  • Use < cfajaxproxy > to handle the form submission?

    ColdFusion 9

    Im trying to submit a < cfform > function CFCs without appellant cfm refreshing. The name of the form is dynamic, and so are the elements contained in the form. Javascript seems to pass the form as a structure to my cfc, but the < select > and < textarea > are empty.

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

    < cfform id = method "" #randomID # "="post">"

    < name cfselect = "PremierElement" >

    < = "firstOption" value = "firstValue" option name > first option < / option >

    < name of option = "secondOption" value = "secondValue" > second option < / option >

    < / cfselect >

    < cftextarea type argument = "text" name = "textAreaOne" rows = "5" cols = "45" > < / argument cftextarea >

    < name cfinput = "submit" type = "button" value = "Send" onClick = "sendForm('#randomID#')" >

    < / cfform

    This is the javascript function that is called by the form:

    (The .cfc's formAction.cfc)

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

    < cfajaxproxy cfc = "culture" jsclassname = "cfcClass" >

    < script type = "text/javascript" language = "javascript" >

    function sendForm (formID) {}

    var cfc = new cfcClass();

    This seems to send the form as a structure of my cfc, but the < select > and < textarea > are empty

    var result = cfc.send (formID);

    }

    It's the CFC:

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

    < cfproperty >
    < name cffunction = 'send' returntype = "remote access" = "string" >
    < name cfargument = "formResults" type = "struct" required = "yes" >


    < cfreturn >
    < / cffunction >
    < / cfproperty >

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

    My goal here is to pass the form to the cfc as a structure. I can then loop through the structure and create a list of keys and values. I also tried to create a chain of values in javascript before the call to cfc code, but ive problems, because a large part of each form is dynamic.

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

    Here is my attempt to extract the form values before calling cfc:

    function sendForm (formID) {}

    to loop through the form in question

    for (i = 0; i < document.getElementById (formID).elements.length; i ++) {}

    This works for items imput simple but not for < select >

    var value = document.getElementById (formID) [i] .value;

    for < select > ive tried this, but the selectedIndex property is always 0:

    var value = document.getElementById (formID) [i] SelectedIndex;

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

    If someone could help me with another method; Send the form to the cfc, or create a list of values to send to the cfc structure, I'd be a very happy man.

    There is an easier way to your cfc without home page refresh.  Submit your form to a .cfm page within a very small iframe.  Then this .cfm file can send the form as a structure to your PPC.

  • What to put in the xsd schema for the form of the ADF radio buttons?

    Hello, we create a form generated from the data of a HT ADF auto which is a type defined in a schema .xsd. Which schema component Let's in the .xsd schema correspond to buttons option in the form of the ADF? For example, in our .xsd we just

    <? XML version = "1.0" encoding = "UTF-8"? >

    " < xsd: Schema container = ' http://www.w3.org/2001/XMLSchema "xmlns:wf =" " http://www.example.org "

    " targetNamespace = ' http://www.example.org "elementFormDefault ="qualified"> "

    < xsd: complexType name = "FormDataType" >

    < xsd: SEQUENCE >

    < xsd: element name = "FirstName" type = "xsd: String" / >

    < xsd: element name = "Name" type = "xsd: String" / >

    < xsd: element name = "Department" type = "xsd: String" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: Schema >

    What would be the element / type etc be for radio buttons?

    Hi Tali,

    It depends on what you want to do with radio buttons, but it would be better to be a part of string in most cases.

    This could be better handled on the ADF OTN forum, but I'll take a shot at it.  If you have many items to choose from, you can use the string "Department", you already have in your XSD.  When displayed on the form, include various departments with radio buttons next to each other (for example,"manufacturing", "Marketing", "Sales").

    Because this is the BPM forum, I guess your XSD is used as data for a human task which in turn used to create a form of the ADF.  If this is the case, you can use your "Department" in your XSD string element that has already been placed on your form as a text input field.  The reason is the link that you need to update the element of the human task service is automatically created in this way.  Select this field to text, and then in the properties panel, copy the text that is in the 'value' of the field (you stick it in the Value property of the Radio group you will add in the next step).

    There are two ways to get the radio buttons on the form.  You might drag the "Radio group" widget on the form-> click on radio to 'Create a list (select an item)' button-> click the Add icon to add the choices you want to appear on the form (for example,' manufacturing ', 'Marketing', 'Sale').   Once this was added, paste property value text you copied in the previous step into the field of "Value" property of the new Radio group.

    If you select the radio button of the new group source, it should look like this if you wanted two choices for your radio buttons:

    After this has been added, delete the existing text entry field that was created when the form was generated automatically from the human task.

    Hope this helps,

    Dan

  • Messages appear is not on the Console in the form of Custom window

    @@We has created a custom form with the name of the window: XXACCOUNTDESC

    Form module: XXACCOUNTDESC

    Subclass: Module

    Console Window: PROGRESS_INDICATOR.

    during the compilation of the form, we get the error message with

    FRM-18108 could not load the following items.

    Source Module: APPSTAND

    Source object: STANDARD_PC_AND_VA

    Source Module: APPSTAND

    Source object: STANDARD_TOOLBAR

    Source Module: APPSTAND

    Source object: STANDARD_CALENDAR

    Even if we get this error. Form is created successfully and we can open the form for application front-ends.

    Everything works fine but it does not display a message on the console at the bottom of the form window.

    Please let me know what I missed.

    Thanks /.

    User526853 wrote:

    ... I have another question. I wanted to hide the error message standard oracle on the form and show the custom for this message I put: SYSTEM. MESSAGE_LEVEL: = '25'...

    Do not delete the message using: SYSTEM. MESSAGE_LEVEL: = 25.  You might find yourself Gohan messages you want to display, and more that only works for messages that have a lower priority or level of 25.  Any greater than 25 message always appears.  It's much better to intercept the error message / in the trigger-Error or one Message only to remove the error.

    You should be able to intercept the message in the On-Error trigger.  Simply add the code to test the exception DUP_VAL_ON_INDEX (ORA-00001) and display your message elsewhere, let BSE standard Error Handler take care of all other errors.  Your code should look like this:

    /* Sample On-Error Trigger */
    -- Code is untested...
    BEGIN
       IF ( DBMS_ERROR_CODE = -1 ) THEN
           -- Display your message here
       ELSE
           -- Call the standard EBS Error Handler
       END IF;
     END;
    

    Craig...

  • Select the Member not level 0 in the form of Hyperion Planning

    Hello

    I have the next dimension:

    Total product (Lev 3)-> product-> product-> product (Lev 0) (Lev 1) (Lev 2)

    In the form of selecting members, I need to dynamically select ALL AND ONLY members of level 1 (range). How can I do this?

    I can't use a filter on an attribute, because the product range is not level 0 and the member functions (ancestors, children, Parents,...) do not seem to apply in my case.

    I thank you,

    Federico

    I don't think that there is a simple approach. If your rating is sparse, then you can assign attributes to the level 1 members and use the form.

    Concerning

    Celvin Kattookaran

  • Martyn King: Martyn King: I don't see how to change the opacity on MUSE CC it is grayed out when I select my form box. Martyn King: it is on an element in the form of CAPTCHA.

    Martyn King: King of Martyn: I don't see how to change the opacity on MUSE CC it is grayed out when I select my form box.

    Martyn King: On an element in the form of CAPTCHA.

    Unfortunately, we can not change the opacity of the captcha has filed the fill option, are looking for a way to set the background and text color even? or you want to set the opacity so that object behind the rating should be visible?

    Thank you

    Sanjit

  • problems of updating the form.

    I've been racking my brain trying to figure out how to get something to work with a form.

    It's the form that will be used...

    < action = "Insert.cfm cfform" name = "Create" target = "_blank" > "

    This should open the insert.cfm as I have a report to open the end of manual page. It works very well.

    < cfreport format = "pdf" template = "Detail_Printable.cfm" query = "Qdetail" > "
    < / cfreport >

    But I have a problem with the form. I need to update because I don't want the user to have the option to submit the form again, with the new data.

    Hope that makes sense.

    Thank you

    James

    OK, let's start first: it is not Java.  This is JavaScript.  They are two totally different things and independent (despite the similarity of name).

    http://en.Wikipedia.org/wiki/Java_%28programming_language%29

    http://en.Wikipedia.org/wiki/JavaScript

    Second, google "javascript onsubmit handler.  There are piles of information & tutorials & guidance out there already, so there's no point repeating here.

    Once you get your brain autour how managers onsubmit works, google 'onsubmit javascript open new window' and read some of the tips on how to do it.  All the info you need is already here.  Indeed, there is exactly the answer you need on the first page of results.

    If you get to the point to write code and need help with it, then after return.  But you should be able to solve everything with Google and roll the sleeves ;-)

    --

    Adam

  • Prevention of the forms of text block

    When I draw a shape (box, circle, etc.) with the tool form - I usually insert columns with text inside them. The form is usually a boarder of the page and sometimes I have to change.

    Several times just by clicking on my text tool in the area of the shape transforms this form in a block of text.

    I need to find a way to prevent the form turns into a block of text.

    There are several ways to handle this. One is to turn off the preference which allows the tool to type convert images to text blocks.

    Another is to put these borders on their own layer and lock the layer.

    A third is actually use the feature to combine the border and a text frame, if it is appropriate for the page layout.

  • The zeros that is hidden in the form field?

    I created a spreadsheet with calculations and zeros appear in the blank lines.  Could move only with this script:

    If the value is zero replace with string NULL

    if(Event.Value == 0) event.value = "";

    My question now...  There are moments where the equation will be 0.  You wonder how I print?
    Field1c-Field1g = Field1h
    I c field - field g is equivalent to h field
    Sometimes, this answer will be 0, and I need to print the field.
    The form has been implemented in Acrobat pro X on a mac.
    Thanks for your help!

    You can replace your script running (probably Validate) with the following:

    (function () {
    
        // Get the input values, as strings
        var v1 = getField("Field1c").valueAsString;
        var v2 = getField("Field1g").valueAsString;
    
        // Blank this field unless both fields are not blank
        if (!(v1 && v2)) {
            event.value = "";
        }
    
    })();
    

    But this raises the question of what should happen if a field is blank, but the other is not? It would probably be best to handle all this with a custom instead calculation script.

  • Attach a file after having signed the form

    Hello

    In my form there are two signatures. By signing the first signature field is all of the above areas it oneself. Then I have the attchments sections below, it is the second signature field. But if I sign the first signature field does not have the attachment (import data object). I know that it is clearly manipulation with pdf file after the form is signed. I handled the exception and he said: ' not allowed error: security settings prevent access to this property or method ". But stil, l there is no work around through which I can reach this requirement of the company? Help, please!

    Hello

    I did this as well and I couldn't find a solution. Once that form is signed the process of attaching a file seems to be considered too much of a change.

    For a form we have dropped digital signatures and went with a less secure/robust method to indicate that a section was signed, just so that we can maintain the ability to attach files during the process of the form.

    I'm afraid it's one or the other - digital signature or attach files.

    Good luck

    Niall

  • To access the fields of the form with between [square brackets] in the name

    Just wondering if anyone has any ideas to access form field values when the field names include media as those of the cfdump of a post form below (it's a webhook from MailChimp)?

    When I try to access the values using the #form.data [list_id] # for example, I get a ColdFusion error, I guess because he thinks I'm trying to access an array element. Any help appreciated.

    struct

    DATA [LIST_ID]

    000000000

    DATA [NEW_EMAIL]

    [email protected]

    DATA [NEW_ID]

    000000000

    DATA [OLD_EMAIL]

    [email protected]

    FIELD NAMES

    TYPE, FIRED_AT, DATA [NEW_ID], DATA [NEW_EMAIL], [OLD_EMAIL], DATA [LIST_ID]

    FIRED_AT

    2010-03-08 17:49:09

    TEMPID

    [empty string]

    TYPE

    upemail

    You can access the members of struct via dot-noation if the keys are "valid variable names" or through the support rating, for example:

    myStruct ["myKey"]

    Using the notation of support not valid variable name restrictions that dot notation has.

    --

    Adam

  • Point set Label above point on the form?

    My apologies if this has been listed here. I could not find with the research I've done.

    In my data entry form, I want to put the labels of items entrable top of the fields. I looked at the label (optionally with help) model, but it looks like that just the label itself handles. I don't see a way to get to the #BODY # of the region (region without buttons or title) do it either.

    Are we stuck with having always our labels in column to the left of the items in a form?

    I hope not and knowing a minimum necessary?

    Thank you

    Stew

    For the element, set Begin on the new line = YES and start the new field = Yes

    Then to the label set "Horizonal/Vertical Alignment" 'at the top'.

    (It's in v4.0.1.)

  • Receive messages of change on the form?

    I have a < mx:Form > element. The form is used to submit requests to a site. After a presentation, a status label appears to show the tender successful with a confirmation number (or an error message).


    When the user goes to submit a subsequent request, I need white label to state that they begin to enter the data. I am that calling a handler for the Exchange on the elements of the current form (superuser various TextInputs're ComboBox, CheckBox're etc.). It is can be problematic if a FormItem new is added, but a change if forgotten event. It would be nicer if there was a way to handle an event, if any of the data on the form has been changed. I don't see any event is raised for such a thing. Is the way I currently do it the only way? Or is there an event that can be used that I simply can't.

    p.s. I am pretty new Flex development, but have am not new development in general.

    Hi there Di1bert

    This should do the trick for you.  It loops through your form and adds to each child event listeners, when the form completes its creation

    http://www.Adobe.com/2006/mxml"layout ="absolute">

    Import mx.core.UIComponent;

    Import mx.containers.FormItem;

    private function addListeners (): void {}

    To loop through all the children in the form and add the event listener.

    for each (var in {myForm.getChildren () formItem:FormItem)}

    formItem.getChildAt (0) .addEventListener (Event.CHANGE, handleChange);

    }

    }

    private void handleChange(event:Event):void {}

    trace ('changed')

    }

    ]]>

    Hope this helps

           
  • How dim part of the form based on selection?

    I have a php form that has a dropdown menu with two options: Standard or custom. If the visitor chooses Custom, I need the form remains to be "grey" on or off or something. I have no idea where to start. I did a quick search on the web and have not found much. I wonder if this may be something that handles JavaScript. Or perhaps an IF statement that causes the rest of the form to appear if custom is selected. (Please let me know if I am barking the wrong tree.)

    I'll spend some time tomorrow night trying to find a solution, so I hope someone can point me in the right direction first.

    Any advice would be welcome. If anyone knows a tutorial or explanation or a solution on the web, please send me a link.

    Thanks to that!

    John

    PHP is a language server side, so the only way to do it with PHP would be to submit the form when this option is selected.

    You must use JavaScript to disable form elements. The following script activates / deactivates on and outside form elements:

    
    

    Put this in the head of your document and apply it on the menu drop down like a like this onchange event: