Now… Imagine you don’t want to use the weird table thing, why would you.
So you move your HTML Element out of the table and delete the table.
Check preview: Looks even better than before.
Save and run:
ERROR: Invalid form layout Error code: 2403
Why? Does a HTML element a wrapper of some kind? How would one know this? There’s nothing in the documentation about this.
The HTML Element is such a huge feature to create good looking forms and yet there’s barely any info on how it works or what you can do with it.
I’ll continue experimenting with the HTML element and add new findings to this post but I’d love to hear your opinions and experiences with the Form Designer and especially the HTML element.
Update: Ever tried using JavaScript in the HTML Element?
Well it doesn’t work, which is ok. But is the error message We are sorry. UiPath platform is not available in your country. the right way to tell me this? Not sure.
Thank you for your input! I informed our team and the feedback is well received. Some improvements will be made to make the experience better (both in documentation and probably in product, about that weird error message).
this is indeed helpful, I haven’t seen this yet.
Since you seem to know forms quite well, I’ve come across another problem:
I have 2 simple file path input fields. On their own, they work perfectly fine. Now I added radio buttons and I wanted to show only one path input, but as they do not have conditions, I put each of them in a container and added the show conditions there.
Now when I select one option from the radio buttons, one of the path inputsshows, same for the other one, so it works as intended.
The big problem is, that the values of those path inputs are empty when I try to access them via databindings.
This only happens when I put them into a container.
I tested it with a basic text field and the problem is the same. No data when the textfield is inside a container.
What’s going on there?
Edit:
I solved this issue by checking the json of the container and copying the condition logic into the file path input field. This way I didn’t have to use a container.
Good to know that you have found a workaround for this, but if you want to access the data bindings within a container you would have to reference them from via the container field key.
For instance if your Container → Field Key → Property Name is container1, and your input file path key is file1, you may create variable container1 with type System.Collections.Generic.Dictionary<System.String, System.String> and access the file input bindings as container1("file1").