Can I assign a value to a survey answer?

Options

For a multiple choice answers the value assigned is the string answer. Is there a way to assign a number to that value instead of the answer text?

 

Alternatively, 

 

Is it possible to pull the Designee list as survey answers?

Tagged:

Comments

  • I might be missing the big picture of what you might be trying to achieve here, but solely in response to the question whether or not you can have numbers as value for your multiple choice answers, the answer is yes. You just simply put the numbers within the value fields separated by return / break line within the backend configuration.

     

    But I have a feeling from re-reading your post that it could be your need might be beyond simply having numbers as mere values on your dropdown survey question -- like i.e. where you are trying to use these number as reference / unique identifier of the string / text answer value (perhaps?)  

     

    If so, the thing solution could get more advanced / complex depending on the use case. 

    Example:

    You can label the public-facing drop down values with the text string while the value is still submitted as number associated to that label onto the backend Survey.  But if you are passing that data onto your other database / repository -- you would likely still have to define the references over there as well.

  • Kent Gilliam
    Kent Gilliam Blackbaud Employee
    Ancient Membership Facilitator 4 Name Dropper Photogenic
    Daniel Hartanto:

    I might be missing the big picture of what you might be trying to achieve here, but solely in response to the question whether or not you can have numbers as value for your multiple choice answers, the answer is yes. You just simply put the numbers within the value fields separated by return / break line within the backend configuration.

     

    But I have a feeling from re-reading your post that it could be your need might be beyond simply having numbers as mere values on your dropdown survey question -- like i.e. where you are trying to use these number as reference / unique identifier of the string / text answer value (perhaps?)  

     

    If so, the thing solution could get more advanced / complex depending on the use case. 

    Example:

    You can label the public-facing drop down values with the text string while the value is still submitted as number associated to that label onto the backend Survey.  But if you are passing that data onto your other database / repository -- you would likely still have to define the references over there as well.

    Can you tell us what you're doing with the data you're capturing? Are you having it populate a custom_string that you have in your "Additional Information" section of a profile record? And if so, what is it you need to do with the data? Report on it, query it, trigger an interaction?

     

    Kent

  • Kent Gilliam:

    Can you tell us what you're doing with the data you're capturing? Are you having it populate a custom_string that you have in your "Additional Information" section of a profile record? And if so, what is it you need to do with the data? Report on it, query it, trigger an interaction?

     

    Kent

    Essentially we were trying to give the survey questions the Designee ID's, in order to list them on page other than a donation form but since we were unable to find a good solution for making the ID's the same as the Designee Id's we ended up using an API solution with getDesignees.

Categories