• Resolved Martin

    (@martin77)


    How should the input be made in connection with pipes?
    Example:

    [radio Altersgruppe use_label_element default:1 "{unter 18|1}" "{18-30|2}"]

    -> does not work

    [radio Altersgruppe use_label_element default:1 "{unter 18}|1" "{18-30}|2"]

    -> does not work

    • This topic was modified 2 years, 3 months ago by Martin.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Andreas Münch

    (@andreasmuench)

    Hey @martin77 ,
    is there a specific reason why you have to use the pipe symbol?
    It seems this is generally not supported by CF7.

    Thread Starter Martin

    (@martin77)

    The input of the form is stored in a database, regardless of which language is currently used in WordPress, the same value should always be stored as the result of the query.

    Example:

    EN:
    Gender:
    Man -> will be saved -> | 1
    Woman -> will be saved -> | 2

    DE:
    Geschlecht:
    Mann -> will be saved -> | 1
    Frau -> will be saved -> | 2

    [radio {Geschlecht} "{Mann|1}" "{Frau|2}"]

    Pipe is supported by CF7, also works well when saving in DB, but unfortunately not here with Multilingual Contact Form 7:
    https://contactform7.com/selectable-recipient-with-pipes/

    Plugin Author Andreas Münch

    (@andreasmuench)

    Hi @martin77 ,

    to be honest I did not know that feature ??
    I just uploaded a new version where this should work now.

    Do it like this:

    [radio {Geschlecht} "{Mann}|1" "{Frau}|2"]

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Pipes and Multilingual Contact Form 7’ is closed to new replies.