Forums

Jazzy Forms
[resolved] show pulldown's selected option name on email contents instead of value (14 posts)

  1. keithrech
    Member
    Posted 10 months ago #

    First of all, many thanks for great plugin.
    It works fine.

    I have a problem as below.

    =simple quotation for guest house=
    -pulldown selection for room- ID:room
    title value
    Room A $500
    Room B $450
    Room C $400

    No problem to show price of room selected in email with double braced ID, however don't know what to do to show room name like Room A, Room B.....

    Much appreciated if anyone who can help me here.

    http://wordpress.org/extend/plugins/jazzy-forms/

  2. keithrech
    Member
    Posted 10 months ago #

    What I wish to make the email contents like below.

    ---------------------------
    Dear {{name}},
    Advising our simple estimate as follows.

    1. name of room: Room A
    2. rental price per month: USD500
    3. deposit (1month): USD500

    best regards.
    ABC real estate.
    xyz@mydomain.com
    ----------------------------

  3. jazzigor
    Member
    Plugin Author

    Posted 10 months ago #

    Yeah, some guys (Istvan and plnewton) already pointed out this issue in an earlier discussion. There should be a way to access the option title, not only the value. I agree.

    I'm still figuring out how to implement this without clashing with my general design decision to adhere to common spreadsheet formula syntax. An obvious way might be something like a new function called SELECTED, CURRENT, or SELECTED_TITLE.

    I will give high priority to this issue, because you are not alone with this and your example is pretty fundamental. However, as always, I can't commit on any dates.

  4. keithrech
    Member
    Posted 10 months ago #

    Hi, jazzigor,
    Thanks for your positive comment. I am looking forward the update.
    I am not pushing you..... :-D

  5. jazzigor
    Member
    Plugin Author

    Posted 9 months ago #

    Hi! So here we go. It took me a bit longer than expected because I had to refactor a lot of the Javascript for this seemingly innocent feature. I hope you are still interested, keithrech.

    v0.10 introduced a new function for this job. LABEL(id) gives the label of the currently selected option in a dropdown menu or radio buttons set.

  6. keithrech
    Member
    Posted 9 months ago #

    hi, jazzigor,
    Thanks for your update.
    Will check the workability and feed back here.
    Many thanks!

  7. lindseyp
    Member
    Posted 9 months ago #

    Hi there! thanks for a great plugin. Very useful! I was wondering the same thing and in the same exact situation as listed above. With the update, I still can't figure out how to get it to work. What do I need to put in the email message for it to display the title instead of the value? Can you add more of an explanation of how to make this work?

    For example:

    I have a simple dropdown saying do you need electricity for your booth? yes or no. I want the email to say yes or no instead of 0.

    I have an id of electricity and I put the double brackets around it in the email, but it still doesn't show the "yes or no"

    Does that make sense? Thank you so much!

  8. jazzigor
    Member
    Plugin Author

    Posted 9 months ago #

    Hi lindseyp,

    sorry for not being clear on that. In your email template you would simply write:

    Electricity for your booth: {{LABEL(electricity)}}.

    In general terms id alone evaluates to the element's value, but you can use LABEL(id) in order to get the label/title of its selected option.

    I hope this helps. I hope I can come up with documentation soon. I'm already working on it.

    Igor

  9. lindseyp
    Member
    Posted 9 months ago #

    thank you so much for responding so quickly!! It works like a charm and that was exactly what I needed! Thanks so much for a great plugin!

  10. whalanz
    Member
    Posted 9 months ago #

    I just became to require this plugin within the last two days... got everything going and realised I needed this particular functionality... And here it is implemented just 6 days before hand, and working like a charm. I have to tell you, it doesn't usually go this way for me. Thank you!!!

    I don't yet know how to turn things on and off yet based on a selection, hopefully I can do this, I am going to try find out now... thanks again for an awesome plugin.

  11. keithrech
    Member
    Posted 9 months ago #

    Hi jazzigor,
    Version 0.10 to email showing block title instead of value worked fine at my site even with my Japanese site.
    It will help me very much.
    Thank you very much again!

    BTW, to everyone checking this topic!
    Go back to this plugin's home and vote for rate and workability with your WordPress version!
    This will encourage jazzigor mcuh!!

  12. plnewton
    Member
    Posted 9 months ago #

    Great to see the latest version has the ability to select the label on the email, this is what I have been waiting for, we can not add the form to the site.

    This is probably a big aks Igor but do you have any plans to enable html within the email template?

    Keep up the good work!!

    Cheers

  13. jazzigor
    Member
    Plugin Author

    Posted 9 months ago #

    Thanks for the nice words. HTML in emails doesn't sound like a big deal. I'm putting it down.

  14. imudo
    Member
    Posted 9 months ago #

    Hello to everybody,

    The plugin is very nice, but I have a problem with sending my form : when I click on the send-button, it stays blocked on "Sending..." position.

    My form has many fields, I tryed to create a very simple new one, with only one field and one send-button, and it still doesn't work.

    And in the Email section (backoffice) of my form, I have :
    to : <my-adress@mail.com>
    from : Test
    Subject : Test
    Message : test test

    I have already used others forms plugin on my website, so I don't think I have any problem of configuration.

    I don't know where to start to search. Could you help me ?

    I thank you in advance :)

Reply

You must log in to post.

About this Plugin

About this Topic