Okay
  Public Ticket #1379576
String to numbers
Closed

Comments

  •  2
    David_Gascon started the conversation

    Okk.. I'll try to explain myself as clearly as possible.

    1. I want to use a form builder in Wordpress, maybe yours or maybe another one. Right now I'm trying with Google Form to run test.

    2. In my form (kind of survey), I ask for question like : What is your favorite color? They have to answer with a drop down menu. There is 3 colors available. 

    3. In my table, there will be 3 strings answer, the 3 different colors. 

    4. I want to use WPdatatable to show the result in the table. So far everything is fine, for each line I will see a different color. 

    5.I want to create a chart. But, then my only information is a string. What I want is to see a column chart with the different color on one axis and the number of people who choose this color in another axis. Seems simple, but I don't know how to go there.

    The option I see are these:

    Is there a way in Wpdatable to give numeric value to a string? 

    Any form builder you know that will create 2 separate table (one string, one numbers) with one entry?


    Thanks for your time.

    David

  •  471
    Isidora replied

    Hi David,
    Thank you for your purchase.

    First we don't have form builder in our plugin. We have add on for integration with Gravity and Formidable forms but if you want to use this integration you have to install Gravity or Formidable forms.

    If I understand you will have three colors(for example reg, green and blue) and you ask is it possible to convert these strings in numbers. If this is true, sorry for disappointment but something like this is not possible with built in features of plugin.

    You request for chart to show for example for red chosen 3 times, green chosen 1 time and blue chosen 2 times. You can do that but you have to add one more input in form which will be always 1(if you use Gravity of Formidable forms).You can make same hidden input that will be inserting always 1 for every user input. Then you make table from that and it will be looks like this.(attachment 1)

    Then you make a chart from that table choosing columns with colors and that column with value 1 and turn on option Group chart and you will chart that you request.(attachemnt 2)

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables

  •  2
    David_Gascon replied

    Work like a charm with Formidable Form! Thanks

  •  471
    Isidora replied

    Hi David,

    You are welcome.  Glad that we help you.

    If you have any more issues feel free to open a new ticket, we will gladly help.

    We'd greatly appreciate it if you could take a minute and leave a review on CodeCanyon on this link. Thanks! 

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables