15
Views
5
Comments
the input widget is not assigning the value entered on the screen to the variable

Hello, I have a problem, the input widget is not assigning the value entered on the screen to the input variable, I don't understand what happens. This is in traditional web.

Rank: #339

Hello sergio san martin

Are you using a form to submit the values? Can you confirm if the value that is being stored for the "Numero de Tarjeta" is in fact your CardNumber local variable instead of the form variable?

Best regards, 

Paulo Z

Hi, im not using a form, only containers and inputs widgets.

Here the structure:

Rank: #301

Hello,

If possible, could you please share your OML? It would be always easy to find the problem and suggest the possible solution when we have code in front of us.

Thanks & Kind Regards,

Sachin

Here is the OML

Demo.oml

Rank: #56

Hi Sergio,


When you add the extended property name, you stop having the value binded to the variable. 

Remove the name property from your inputs and you'll have the values binded to the variables. This happens because OutSystems-platform generated HTML makes use of the name property as you can see in the screenshot below after I remove the extended property:


OML in attachment with the changes.


Hope it helps.


Kind Regards,
João

Demo1.oml