Script para Rs Forms

Método de pago: Verificado


Terminado
Descripción:
I have my form like this

A@mail.com|Option A
A@mail.com|Option B
A@mail.com|Option C
B@mail.com|Option D
B@mail.com|Option F
B@mail.com|Option E

When I get the email, as you indicated, let's say I choose  "A@mail.com|Option C" - Not matter what option I choose, it always shows me the "Option A" text, even though I selected the "Option C", and it should show me the "Option C" text.

Instead it just shows the "Option A" text.

The email works fine, goes to the a@mail.com or the b@mail.com but does not show me the correct text. It always shows the first item that has the same email, so I don't know what to do?

The support asks me to do this

What you're experiencing is actually normal as standard HTML dropdown options should be unique. In your case, most values are the same, thus you can't differentiate between its choices.


Under such circumstances, you can consider similar steps:

- no longer use the | pipeline approach and remove the email addresses as well.

- Add a hidden field.

- Use a script within "Scripts Called on Form Process" area (while editing a form > Properties > PHP Scripts) that checks the dropdown selections and adds the according email address within your hidden field value (basic scripting knowledge is required).

- Eventually you would use the hidden field placeholder instead to return the email address.

More on RSForm!Pro PHP Scripts areas here:

https://www.rsjoomla.com/support/documentation/rsform-pro/getting-started/php-scripts.html

Category: Programación y Tecnología
Subcategory: Programación Web
What is the scope of the project?: Small change or bug
Is this a project or a position?: Project
I currently have: I have specifications
Required availability: As needed
Experience in this type of projects: Yes (I have managed this kind of project before)
Roles needed: Developer

Abierto

Presupuesto

3

Propuestas

5

Freelancers interesados

Publicado: Hace un año

Plazo: No definido

Crea tu propio proyecto

¿Buscas un freelancer para realizar un proyecto similar? Crea tu propio proyecto y recibirás ofertas de los mejores freelancers.


Freelancers que ya aplicaron para este trabajo

andres c. Tengo 8 Años de experiencia en gestión de proyectos, soy analítico, practico, responsable + detalles

Art S. En Art Studio nuestra visión es apoyar a las empresas mediante soluciones web que los ayuden a lograr sus metas, logrando una gestión de calidad. + detalles