Re: Couple of HTML questions

2021-09-13 Thread Colin Holgate via use-livecode
I found a small styled text editor that I could add my buttons to, and can now edit text and send it to a PHP script to store online. Then a LiveCode stack can retrieve those files. One problem I ran into was getting all of the characters to survive the ordeal. I could successfully get the

Re: Couple of HTML questions

2021-09-13 Thread Colin Holgate via use-livecode
I read the instructions more carefully, and the selected text does get posted. I am using 9.6.3, wonder if the version matters? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Couple of HTML questions

2021-09-13 Thread matthias rebbe via use-livecode
Colin, i my previous comment i posted a link to a html5 stack which posts the selected text of a field to a Livecode Server script. Posting should definitely work. > Am 14.09.2021 um 00:42 schrieb Colin Holgate via use-livecode > : > > I do see a message when trying the post, that says

Re: Couple of HTML questions

2021-09-13 Thread Colin Holgate via use-livecode
I do see a message when trying the post, that says exception thrown, see JavaScript Console. There are too many error lines to be sure which one of them is important. I get no error when trying to set the style of the text, which makes me think that the field is a plain text field. When I test

Re: Couple of HTML questions

2021-09-13 Thread Colin Holgate via use-livecode
My PHP script is at an https location, so no problems there. Currently I had been trying to set the text style of the selection, I didn’t yet try setting the text style of a character range. The post does seem to be failing though, and given that I don’t need any HTML5 features, only a simple

Re: Couple of HTML questions

2021-09-13 Thread Sean Cole (Pi) via use-livecode
Hi Colin, If it is HTML5 deployment you are looking to do from LC, how time critical is your project? At the moment, HTML5 deployment is still quite broken in many ways. It may be best to wait until LC10 which is using a whole new engine (which looks very promising). That said, the current engine

Re: Couple of HTML questions

2021-09-13 Thread matthias rebbe via use-livecode
Hi Colin, just tried here with a Livecode Server script not with a php script. Posting data from an Html5 stack to an url definitely works. (see https://livecode.dermattes.de/postmr/postmr.html ) What i do not get working is setting the text