• Resolved vpsilva

    (@vpsilva)


    Hi there! I need some help.

    I would like change the label of my ‘select name’ for ‘code’.

    E.g: [select* TypeCompany first_as_label “Choose one” “A” “B” “C” “D”]

    And when click submit – receive the form with the code information

    Name x Code
    A ANUNCIANTE
    B AGENCIA_MEIOS
    C AGENCIA_CRIATIVA
    D PRODUTORA

    Thanks for you help.

    https://www.ads-software.com/plugins/contact-form-7/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter vpsilva

    (@vpsilva)

    P.S. I want set the value inside my [select* ….]

    In my form I do this and work:

    <span class="wpcf7-form-control-wrap TipoEmpresa">
    <select name="TipoEmpresa" class="wpcf7-form-control wpcf7-select wpcf7-validates-as-required op1 op3" aria-required="true" aria-invalid="false">
      <option selected disabled>Tipo de empresa</option>
      <option value="ANUNCIANTE">Anunciante</option>
      <option value="AGENCIA_MEIOS">Agência de Meios</option>
      <option value="AGENCIA_CRIATIVA">Agência de Publicidade</option>
      <option value="PRODUTORA">Produtora</option>
    </select></span>

    but if there is a way to prepare it for the shortcode of CF7 I like to do.

    Thread Starter vpsilva

    (@vpsilva)

    I would like set the value inside of [select* ….]

    if there is a way to prepare it for the shortcode of CF7 I like to do.

    Thread Starter vpsilva

    (@vpsilva)

    like this

    <span class="wpcf7-form-control-wrap TipoEmpresa">
    <select name="TipoEmpresa" class="wpcf7-form-control wpcf7-select wpcf7-validates-as-required op1 op3" aria-required="true" aria-invalid="false">
      <option selected disabled>Tipo de empresa</option>
      <option value="ANUNCIANTE">Anunciante</option>
      <option value="AGENCIA_MEIOS">Agência de Meios</option>
      <option value="AGENCIA_CRIATIVA">Agência de Publicidade</option>
      <option value="PRODUTORA">Produtora</option>
    </select></span>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Edit option select Name / Attribute’ is closed to new replies.