RkaydianFlower

Members
  • Content count

    7
  • Joined

  • Last visited

About RkaydianFlower

  • Rank
    Newbie

Profile Information

  • Gender
  1. Display values instead of numbers for multi-select listbox

    To get the list of numbers, you need to add Yourfieldname : [@field:Yourfieldname] to the body of the notification mail body. It's not automatically included there by Caspio. To solve this problem I switched to using a regular listbox with the javascript below. Data type is Text. On the desktop, multi-selecting requires holding down Command or Ctrl while selecting, so not ideal. But it works like a charm on mobile. Substitute your field name for "XXXXX" Place this javascript in footer: <SCRIPT LANGUAGE="JavaScript"> /* "fieldName" is the variable name for the listbox type form element field. */ var fieldName = "InsertRecordXXXXX"; var x=document.getElementsByName(fieldName); x[0].multiple=true; </SCRIPT>
  2. What would be different about this new list string data type? To be clear, the current "Professions" list string data element in the table is not numbers, it is values I have manually added (Actor, Artist, Accountant, etc). I did not set up the data in the table with number values, they are being assigned, and that's what's getting pulled through into the notification mail. I'm not sure how I would construct a new list string data type so that the parameter that comes through is the value and not the assigned number. Attached screenshot shows the current "Professions" list string data element in the table along with the named values I have set up for it. Vitalikssssss in the Parameters forum said that "9.7 release did not enable parameter usage of List datatype," so I'm assuming there is no solution here, but let me know if I'm not understanding your suggestion. Thanks.
  3. Display values instead of numbers for multi-select listbox

    Hi Vitalikssssss: This news sounds promising. However I'm not seeing where or how to choose whether the hidden or display value will appear in the mail. Here is what I see on the Advanced panel for this Multi-Select Listbox field. No mention of parameters. I tested survey submission again and I am still getting the number values instead of the display values.
  4. I also posted this in User JavaScript and CSS Discussions because I'm not sure whether custom script was required to achieve this result. I have a submission form DataPage with a multi-select listbox field. I would like the values the user selects in that field to be passed into the notification email. Currently, only numbers representing the values display. This is the parameter in the email: Profession : [@field:Profession] This is what it displays in the notification email: Profession : 4,5,6,53 I would like it to display this: Profession : Accountant, Actor, Agent/Manager, Artist Is this possible? Thank you.
  5. I have a submission form DataPage with a multi-select listbox field. I would like the values the user selects in that field to be passed into the notification email. Currently, only numbers representing the values display. This is the parameter in the email: Profession : [@field:Profession] This is what it displays in the notification email: Profession : 4,5,6,53 I would like it to display this: Profession : Accountant, Actor, Agent/Manager, Artist Is this possible? Thank you.
  6. Is there a solution that works on mobile? Results are very wonky on iPhone, both Safari and Chrome. Total number of selections displayed is frequently wrong, the list will automatically select the first answer if you click Done without selecting an answer, every time you enter the form and leave without doing anything, it changes the number of items selected up and down and up and down.... and other behaviors.
  7. I have a similar issue, but on a Submission DataPage, and I don't need any preselection. Using javascript I was able to create a multi-select listbox that stores the user’s selections as comma-separated values in a single line: writer, director, actor, producer Now I would like to create a Search List DataPage that allows users to search this data using a listbox like this: writer director actor producer Currently, the comma-separated values from each user’s submissions show on a single line. How can I get these values broken up onto separate lines of the listbox on a List DataPage?