• I despair

    I get no query in the thank you realized.

    that’s not how it works

    [CP_CALCULATED_FIELDS_RESULT]

    <% fieldname65_value if_value_like = {{aa}}%>

    <% fieldname65 if_value_like = {{aa}}%>

    [/ CP_CALCULATED_FIELDS_RESULT]

    also not that way
    <Script>
    if (‘<% fieldname65_value%>’ == ‘male’) document.write (‘Dear Sir’);
    else document.write (‘Dear Madam’);
    </ Script>

    Field 65 is a textfield

    why does this not work?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @uwekersten,

    What is the version number of your copy of the plugin? The if_value_like attribute was included in the latest update of the plugin.

    Please, send me the URL to the webpage where the form is inserted.

    Best regards.

    Thread Starter uwekersten

    (@uwekersten)

    thats the Version Version 5.0.265

    and why go the script not running

    what i Need is
    if fieldame# = blabla then Display fieldname_xy at the page.
    when i taste fieldname and/or block if_emty oder if_not_emty it works,
    bud its not enough for me.

    Plugin Author codepeople

    (@codepeople)

    Hello @uwekersten,

    The attribute if_value_like is available from the plugin’s version 5.0.268

    Concerning to the script you are referring, please, enter it as an unique line of code, as follows:

    [CP_CALCULATED_FIELDS_RESULT]<script>if('<%fieldname65_value%>' == 'male') document.write('Dear Sir'); else document.write ('Dear Madam');</script>[/CP_CALCULATED_FIELDS_RESULT]

    However, to know what is happening really on your website, I need check this code in action. Please, send me the URL to the webpage where the form is inserted.

    Best regards.

    Thread Starter uwekersten

    (@uwekersten)

    ah, thank you very much.

    How can I get the latest version? with me it is indicated that it is the last one?

    I work with dropdown fields. I already get the values ??for text and value.
    (Function () {
    var tmp = fieldname39;
    return jQuery (‘[id * = “fieldname’ + ’39_”]
    . Option: selected ‘) text ();
    or …. option: selected ‘). val (); …. this

    }) ()

    How do I get the choice made so first second third ….
    I have read first selection starts with 0 second then 1 etc.
    How do I get the value?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘need help’ is closed to new replies.