HTML field of a 1C document is a regular form. Managed Forms: HTML Document Field and Web Client. Storing everything in general pictures

Question: HTML code is not displayed in the HTML Field of a 1C Managed Form Document


Good day! Someone tell me, I’m creating it external processing, created a form, created a Field in the form, created an Attribute in the form (Type: Unlimited String), path to data: Attribute (Type: HTML Document Field), programmed in the Module:

&OnClient
Procedure Field1DocumentGenerated(Element)
ThisObject.Props = "Wellcome"; End of the Procedure As a result, nothing is displayed in the HTML Document Field (Empty), although in theory Wellcome should be displayed, as I understand from what I read on the forum.

What did I do wrong?

Answer: Who needs this idea, take it, a ready-made working and stable chain, tested in 1C: Retail 8/2.2 controlled forms!!!

Question: Field HTML document ElementsForm.IE.Document.getElementsByClassName()


The story is Form Elements.IE.Document.getElementsByClassName("loginform__input-border") normally returns the desired element, but
Form Elements.IE.Document.getElementsByClassName("loginform__input-field ng-dirty ng-valid ng-touched") does not find

those. doesn't work when there are spaces in the name...

Why?

Answer: () Are there many forms on the page? If not, then get an array of forms and select the one you need.

Question: form attributes are cleared (html document field)


I will generate a page with an html document field. The user clicks on hyperlinks that open in generated pages with HTML document fields.
Then the user closes (programmatically) the source page, it closes safely, but for some reason all the fields of the html documents in the derived pages are cleared (reset), that is, they become empty.
Nobody can tell me maybe why? How to avoid

Answer:

This is really an idea!

Question: How to work with HTML Document Field?


Tell me how to implement the following steps or provide a link to the material.
There is a need to programmatically fill in the fields on a site form, log in and programmatically complete the next fields on the site.
???

Added after 5 hours 9 minutes
You need to programmatically fill in the inputs and press the button..

Added after 16 hours 29 minutes
I figured out how to fill in the fields. Any ideas on how to click the button?

Added after 1 hour 17 minutes
Got it all figured out. Topic can be closed/deleted)

Answer: Via com. There is no time now. I'll post in the afternoon or evening.

Question: HTML document field (not again, but again)


Hi all.
Managed Forms. Self-written conf. I'm tired of "script errors" when displaying an Internet page in a field in an HTML document. No, I’m not trying to make a full-fledged browser inside 1C (reference to the general “Browser” form in the standard ones), but some elementary forms, for example, an authorization form on Google, need to be displayed. And I would like to display it in a humane way, so that the user is not surprised by curses about scripts.

What was done:
I configured IE in Windows to ignore scripts. It helped. But the approval did not go through due to the inconvenience of setting up each client computer.
Scripts were thrown out from the contents of the page received at the address when the Documented event occurred. Did not help. The curse words manage to pop out in front of the startled user’s nose before the scripts are thrown out.
The document was sent to be generated on the server. The HTML code was then stripped of scripts and sent to the client in a field in the HTML document. It helped. But clicking buttons and other work with the form on the client was difficult - many actions require context that remained on the server (cookies). And even if you leave scripts for the necessary buttons and drag cookies from the server to the client, it is unrealistic to track all possible transitions and variations of the content of “foreign” pages, and all kinds of redirects that may occur. Potential hack detected.
We were tinkering with typical ones to see how to implement the output of someone else's HTML. Did not help. Either everything hasn’t been figured out yet, or the vendor’s developers don’t deal with the unknown HTML, or they suppress the output in the web client, and ignore the remaining problems with the scripts.

Help....

Answer: () valuable information, thank you

Question: Help me open the site through an HTML document field


Good afternoon. There is a website
Which does not support older browsers.

It needs to be opened in the HTML field of the document.
I tried doing compatibility mode:

Website = "