159
Views
3
Comments
Solved
webblocks save button and form on a screen
Question

Hello!


I'm doing a project that has a webblock as a header and has some buttons with features, such as navigate to another page and to save data to the server.

I have a screen with a small form and I want the save button to be at the top (inside of a webblock in the header I mentioned) and not at the end of the form. I'm applying a handler event, but it still doesn't work.

In the screen name there is an error "there are no widgets on" ScreenName "submitting inputs to the server.


Can you help me?

Tks

2022-08-05 20-06-58
Hélder Anselmo
Solution

Hi Sara,

probably because your form and the button are in 2 different contexts (webblocks) you have the issue.

to avoid complications and some code (which can lead to maintenance issues in the future) I would suggest you to put a placeholder in the top webblock and then place the button in the same screen/block as the form, so you can directly relate both.

is that possible in your context?

UserImage.jpg
Sara Silva

Hélder Anselmo wrote:

Hi Sara,

probably because your form and the button are in 2 different contexts (webblocks) you have the issue.

to avoid complications and some code (which can lead to maintenance issues in the future) I would suggest you to put a placeholder in the top webblock and then place the button in the same screen/block as the form, so you can directly relate both.

is that possible in your context?


Hi!


I didn't really remember that! For now it's the best solution!

Tks! :)

2026-02-05 15-36-36
Lenon Manhães Villeth
Champion

Hi, friend. 

Can you send the .oml?

The form variables probably must be set as input parameters not mandatory to your webblock. If you send the .oml I can see the best option.

2022-08-05 20-06-58
Hélder Anselmo
Solution

Hi Sara,

probably because your form and the button are in 2 different contexts (webblocks) you have the issue.

to avoid complications and some code (which can lead to maintenance issues in the future) I would suggest you to put a placeholder in the top webblock and then place the button in the same screen/block as the form, so you can directly relate both.

is that possible in your context?

UserImage.jpg
Sara Silva

Hélder Anselmo wrote:

Hi Sara,

probably because your form and the button are in 2 different contexts (webblocks) you have the issue.

to avoid complications and some code (which can lead to maintenance issues in the future) I would suggest you to put a placeholder in the top webblock and then place the button in the same screen/block as the form, so you can directly relate both.

is that possible in your context?


Hi!


I didn't really remember that! For now it's the best solution!

Tks! :)

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.