Hello everyone,
I have the following Reactive Block:
This block is simply a popup with a form inside of it.
The ConfirmButton has the Built-in Validation property set to Yes.
When I click on the ConfirmButton the following action is called:
The problem is that Form.Valid is always True, it seems like the input widgets inserted when using the block do not affect the Valid property of the form.
How can this be fixed?
I have attached an OML as example.
Best Regards,Raffaele Battipaglia
Hello @Raffaele Battipaglia
I have checked your OML and there are some changes you need to do with your code like scope of the input field should be define either inside the block or the complete form tag you have to define in the parent section.
The input field is not validating because whatever the value you are inserting in the input field that is defined in parent placeholder which is out of the scope of the form.
Hope you understand my point.
Regards
Prince
Unfortunately it seems the only solution is indeed to have the form external to the block, is kinda a let down that is not possible to populate a form inside a block using placeholders.
Thanks
Hi Raffaele,
Set the is form default property to yes in the confirm button it should work i am attaching the screen shot for your reference.
hope it helps.
Thanks,
I already tried it and the validation still doesn't fail.
Hi @Raffaele Battipaglia
I have attached oml file so please go through this:
Md Mansur
Hey Raffaele , I have solved your issue and fixed it altogether. I have attached the oml file. Hope it helps and satisfies your doubt.
Tejas