• Resolved robson_cavalcante

    (@robson_cavalcante)


    Hello I’m having trouble sending forms to “required fields”.

    For example, have the form 1 and form 2 to the form 1, fill in the data, click on the submit button and nothing happens. When I select the form 2, required fields are all with active alerts.

    The following example:

    <p><strong>O seu plano é pessoal ou empresarial? <span style="color:#F03;">(*)</span></strong><br />
        [select* escolha-plano first_as_label "Selecione o Tipo de Plano" "Saúde Pessoal" "Saúde Empresarial"] </p>
    
    [group saude-pessoal]
    <p><strong>Seu nome <span style="color:#F03;">(*)</span></strong><br />
        [text* nome-pessoal] </p>
    
    <p><strong>Seu e-mail <span style="color:#F03;">(*)</span></strong><br />
        [email* email-pessoal] </p>
    
    <p><strong>Seu Telefone <span style="color:#F03;">(*)</span></strong><br />
        [tel* telefone-pessoal] </p>
    
    <p><strong>Faixa Etária</strong><br />
        [select* faixa-etaria-pessoal include_blank "0 à 17 anos" "18 à 21 anos" "22 à 29 anos" "30 à 39 anos" "+ de 40 anos"] </p>
    
    <p>[submit "ENVIAR COTAÇÃO"]</p>
    [/group]
    
    [group saude-empresarial]<p><strong>Nome da Empresa <span style="color:#F03;">(*)</span></strong><br />
        [text* nome-empresa-empresarial] </p>
    
    <p><strong>CNPJ<span style="color:#F03;">(*)</span></strong><br />
        [text* CNPJ]</p>
    
    <p><strong>Endereço<span style="color:#F03;">(*)</span></strong><br />
        [text* endereco-empresarial]</p>
    
    <p><strong>E-mail do responsável <span style="color:#F03;">(*)</span></strong><br />
        [email* email-empresarial] </p>
    
    <p><strong>Telefone <span style="color:#F03;">(*)</span></strong><br />
        [tel* telefone-empresarial] </p>
    
    <p><strong>Quantas Vidas?<span style="color:#F03;">(*)</span></strong><br />
        [select* quantas-vidas-empresarial include_blank "3 à 29 vidas" "+ de 30 vidas"] </p>
    
    <p><strong>Tipo de Acomodação<span style="color:#F03;">(*)</span></strong><br />
        [radio acomodacao-empresarial label_first default:1 "Enfermaria" "Apartamento"]</p>
    
    <p>[submit "ENVIAR COTAÇÃO"]</p>[/group]

    Can you help me?

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello I’m having Problems sending forms.i created 2 groups but in that i have a “required fields”.while am trying to sending form i got a validation error please solve the problem

    Plugin Author Jules Colle

    (@jules-colle)

    Should be fixed in version 0.2. Please update.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problems with mandatory fields’ is closed to new replies.