Form webblock event assign bug?

Hi Guys!

I will try to explain my problem maybe I'm doing something wrong.

In a form we have a webblock, this webblock returns a event with a return parameter.

This parameter is assigned to a value from the form.

When saving the form with a ajax submit button the value is not set.

But when doing debug I see that the assign to the form works....

Could this be a bug?

Hi,

Can you replicate the behavior in a simple example and post it here so we can take a look?

Regards,

Marcelo

Please see the espace.

Hi,

I did some changes and is working now.

Regards,

Marcelo

Marcelo Ferreira wrote:

Hi,

I did some changes and is working now.

Regards,

Marcelo

Thank's for the update. So in this case when there is a form and 1 of the element's is working like this I think I have to do this:

  1. First assign the form to the record.
  2. Update the record.
  3. Refresh the form


The first step is needed to set the value that is already set in the form to the record else it will lose it when refreshing the form.


Hi,

Yes you are correct. When you Ajax refresh a form  or table or a textbox these elements are filled with the variable that was assign to them and you need to handle this cases that they might have been changed in the client.

Regards,

Marcelo