• Resolved airdrummer

    (@airdrummer)


    how do specify custom fields in the notification email? is there any documentation on fields like these?

    %VOTER-FIRST-NAME% %VOTER-LAST-NAME%, 
    %VOTER-EMAIL%, %VOTER-USERNAME% 
    
     [QUESTION]
    Question:  %QUESTION_TEXT%
    [ANSWERS]  
    
     Answer:  %ANSWER_VALUE%
Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author YOP

    (@yourownprogrammer)

    there’s a special block for custom fields …

    [CUSTOM_FIELDS]
    %CUSTOM_FIELD_NAME% – %CUSTOM_FIELD_VALUE%
    [/CUSTOM_FIELDS]

    Hope this helps.

    Thread Starter airdrummer

    (@airdrummer)

    gr8 thanx!-) u shd have dox online

    Thread Starter airdrummer

    (@airdrummer)

    i’m a little unclear on what exactly is the CUSTOM_FIELD_NAME

    i see in the source

    <div class="basic-element basic-custom-field" data-id="" data-type="custom-field" data-required="">
      <div class="basic-custom-field-title">
         <label>lot # / street address</label>
      </div>
      <div class="col-md-6 col-sm-6 col-xs-12">
         <input type="text" name="cfield[]" class="basic-input-text form-control" data-type="cfield">
      </div>
    </div>

    should CUSTOM_FIELD_NAME be subscripted? dox w/examples would be nice;-)

    Plugin Author YOP

    (@yourownprogrammer)

    Based on the example you’ve included, CUSTOM_FIELD_NAME should be lot # / street address

    Thread Starter airdrummer

    (@airdrummer)

    yes it works thanx

    Thread Starter airdrummer

    (@airdrummer)

    oh wait…it doesn’t display the custom field label:

    %CUSTOM_FIELD% simply echoes %CUSTOM_FIELD%

    Plugin Author YOP

    (@yourownprogrammer)

    You mentioned %CUSTOM_FIELD%

    But it should be %CUSTOM_FIELD_NAME%

    Which one are you using?

    Thread Starter airdrummer

    (@airdrummer)

    oopsie

    Plugin Author YOP

    (@yourownprogrammer)

    so everything is ok now?

    Thread Starter airdrummer

    (@airdrummer)

    yes, thanx

    Thread Starter airdrummer

    (@airdrummer)

    resolved

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘custom fields in notification?’ is closed to new replies.