Viewing 15 replies - 46 through 60 (of 74 total)
  • OK, I have everyting working with the exception of the date issue but I did come up with a work around. I do have one other question. Is it possible to put a link to a page within the site in the label. I would like to have the ability to click on a “Terms of Use” link to bring users to a terms of use when needed.

    Just FYI, checkboxes are not formatting properly – a line break is not being inserted after the checkbox text. So you have the text of the next question wrapping onto the end of the checbox text. It makes them difficult to use unless they are the last question in a form.

    Also, what is the proper syntax for the Options field for Select (drop-down) fields? I tried piping my items as you suggested, but no dice – the first item is displayed and the list is blank after that.

    Almost there. Help please?

    Nevermind about the latter item – I had styled the drop-down items white.

    jbuchbinder, would you mind describing the syntax available for the Options field? I would like to place “–Please Select–” as the default value in a drop-down, and not allow the user to submit if that was unchanged. Is this possible?

    Thread Starter jbuchbinder

    (@jbuchbinder)

    drew173,

    I don’t see why it wouldn’t be possible.

    The format for opts is options separated by ‘|’ characters. Each of those options can also be separated into “key/value” pairs, which allow the displayed value to be different than the value which the form submits. For example:

    A:1|B:2|C:3|D:

    would result in a select widget which displayed A, B, C, and D, but which submitted the values 1, 2, 3, and a null value, respectively. You could do a “please select a value” type of thing by simply doing something like this:

    Please select a value:|Option One:1|Option 2:2|Option 3:3

    and setting the widget to be “required”.

    Plugin Author Nick Ciske

    (@nickciske)

    Is it possible to put a link to a page within the site in the label. I would like to have the ability to click on a “Terms of Use” link to bring users to a terms of use when needed.

    Not at present.

    Labels are HTML encoded upon output to avoid issues with special characters (and for security in general).

    There would need to be a (new) HTML field type that assumes you know what you’re doing and outputs sanitized HTML directly to the browser. That may appear in a future release (or jbuchbinder may add it to his fork?).

    Thread Starter jbuchbinder

    (@jbuchbinder)

    Not a bad idea — I could add an “html” type to handle that.

    Would that be possible soon. My customer is so happy with the plugin and this is our last need (I hope)

    Thread Starter jbuchbinder

    (@jbuchbinder)

    I just pushed in the change. I’d like to ask anyone who needs additional changes to submit them to the tracker on github here:

    https://github.com/jbuchbinder/salesforce-wordpress-to-lead/issues

    It’s easier for me to track the changes.

    Thanks. I have a couple and will do so right now. I just 5-starred this plugin also, mainly because of your fantastic support in this forum (it would have been a 2.5 or a 3 otherwise). Are you a Salesforce employee? If so I would like to send an email off to a couple of folks to make sure they know the value you’re adding to SFDC through your efforts here.

    3 things added to Github:

    – Line break needs to be added after check box label
    – CSS issue for “send a copy to myself” checkbox (it’s double-inheriting properties from two different classes)
    – Add option to disable the built in Lead Source field so it can be passed from the form (or maybe just don’t pass that field if it’s blank?) I am collecting that field in the form itself but the baked in field is stepping on it.

    Any of these you can do would be awesome, and if you can’t no worries. Thanks.

    Quick request?

    Right now, the plugin outputs label/input groupings as:

    <label class="w2llabel text" for="sf_phone">Phone: <em>*</em></label>
    <input value="" id="sf_phone" class="w2linput text" name="phone" type="text"/>
    <br/>

    It would be better from a CSS styling POV to add an container to these groupings like so:

    <div>
       <label class="w2llabel text" for="sf_phone">Phone: <em>*</em></label>
       <input value="" id="sf_phone" class="w2linput text" name="phone" type="text"/>
    </div>

    Yeah?

    Plugin Author Nick Ciske

    (@nickciske)

    Looks like a good idea. If you submit an issue on GitHub, it’s more likely to get fixed sooner rather than later:

    https://github.com/jbuchbinder/salesforce-wordpress-to-lead/issues

    Anyway to call a javascript function to fill the dropdown country/state list dynamically?

    Thanks in advance.

    Thread Starter jbuchbinder

    (@jbuchbinder)

    Yes, it could be done rather trivially using something like jQuery, assuming that we had a predictable id or added a class to all state selection boxes so that they could be easily selected.

    To answer the earlier question, no, I’m not a Salesforce employee. I forked and started adding features because of my own needs, and it seemed to make sense to get more input from the community at large.

Viewing 15 replies - 46 through 60 (of 74 total)
  • The topic ‘Github fork with some added features’ is closed to new replies.