Bienvenido, Invitado
Recordarme

TEMA:

2 step confirmation of submitting a form 8 meses 2 días antes #263950

  • Autor del tema
  • Maago
  • Fuera de línea
  • Expert Breezer
  • Expert Breezer
  • Mensajes: 191
  • Gracias recibidas: 0
Hello,

I created a form to submit some data.
Within the form I defined a field where user should put in his email address. But sometimes user is putting in a wrong email and I have no chance to find out what the correct email is.

Is there a way that a form submit can be validated by sending the form to the email and user verify this submit so I'm sure the email is correct?

Thanks.

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

2 step confirmation of submitting a form 8 meses 2 días antes #263952

  • Avatar de Mirec
  • Mirec
  • Fuera de línea
  • Ultimate Breezer
  • Ultimate Breezer
  • Mensajes: 2498
  • Karma: 2
  • Gracias recibidas: 135
Hi,

yes, you can use section 'Validaction' in the properties of your element.

In section 'Validaction' you can verify or check everything that you want for that element before the user submits the Form, validation happens when the user clicks on the button submit.

Navigate to the element for which you want to do validation, properties, scroll down to the section Validation and select type custom, and insert this code below in the code box:
function ff_formName_validation(element, message)
{
    if (element_fails_my_test) {
        if (message=='') message = element.name+" faild in my test.\n"
        ff_validationFocus(element.name);
        return message;
    } // if
    return '';
} // ff_Message_validation

-function ff_formName_validation(element, message)-instead 'FormName' insert name of element (Not title).

If you need more help with this, let me know and I will help you!

Please see this link

Regards,
Mirko

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Última Edición: Post by Mirec.

2 step confirmation of submitting a form 8 meses 17 horas antes #264058

  • Autor del tema
  • Maago
  • Fuera de línea
  • Expert Breezer
  • Expert Breezer
  • Mensajes: 191
  • Gracias recibidas: 0
yes I know. This is validating the field itself, but not if the mail address exists.

I think I have to put in a additional email verification field and compare the 2 fields if value is same.

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

2 step confirmation of submitting a form 8 meses 17 horas antes #264059

  • Avatar de Mirec
  • Mirec
  • Fuera de línea
  • Ultimate Breezer
  • Ultimate Breezer
  • Mensajes: 2498
  • Karma: 2
  • Gracias recibidas: 135
Hi,

I think I have to put in a additional email verification field and compare the 2 fields if value is same.

yes, we can do it!


if you want to compare two emails you can add one hidden file and set the default value(email address) and compare it with the email field?

Or another, you can export your form and I will provide the correct code for that.

How export:
crosstec.org/en/support/online-documenta...ted/94-packages.html

Regards,
Mirko

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Última Edición: Post by Mirec.
  • Página:
  • 1
Moderadores: ForumSupport
Tiempo de carga de la página: 0.047 segundos