Search found 130 matches

by istech
Sun Aug 19, 2018 8:28 am
Forum: CGIs and the Server
Topic: POST_[] RESULT to TEXT FIELD
Replies: 8
Views: 1418

Re: POST_[] RESULT to TEXT FIELD

LC server can do this simply. Php "echo" is equivalent to LC "put". So you are not trying to fake a user filling in a webform by taking the value in the input box and posting to a url. Instead you are filling the form and posting to the same url and want to redraw the screen with the same form but ...
by istech
Sun Aug 19, 2018 7:03 am
Forum: CGIs and the Server
Topic: POST_[] RESULT to TEXT FIELD
Replies: 8
Views: 1418

Re: POST_[] RESULT to TEXT FIELD

Well, it depends on what your application on the webserver looks like. Is it PHP? Do you have access to the script it is sending to? Hi there, Yes, it's a simple .lc script I created that I post to and want the result to be displayed in a text box on the same web page. My server has lc server insta...
by istech
Sat Aug 18, 2018 7:33 pm
Forum: CGIs and the Server
Topic: POST_[] RESULT to TEXT FIELD
Replies: 8
Views: 1418

Re: POST_[] RESULT to TEXT FIELD

Assuming your variables are "tThis" and "tThat" and "tOther" put "https://yoururl.com" into gURL put "this=" & tThis & "&that=" & tThat & "&tid=" & tOther into tStuffToPost --post it to the server post tStuffToPost to URL gURL --decode the response put it into tResults Hi there, Thanks for the resp...
by istech
Sat Aug 18, 2018 12:56 pm
Forum: CGIs and the Server
Topic: POST_[] RESULT to TEXT FIELD
Replies: 8
Views: 1418

POST_[] RESULT to TEXT FIELD

Hi Livecoders, Just starting to play with Livecode server and want to POST[] a result to a specific input field on an HTML page. Very similar to php version <input type="text" name="textname" value="<?php echo $_POST['textnameresult'] ?>" /> If someone could enlighten me that would be great. Many th...
by istech
Thu Jun 28, 2018 7:53 am
Forum: iOS Deployment
Topic: Field Not Updating When Hidden - IOS
Replies: 1
Views: 512

Field Not Updating When Hidden - IOS

Hi All, First, let me say I have solved the issue. But need to find out if it is a bug or normal behavior. Current setup is LC 9 XCODE 9.2 MAC 10.13 Problem. When hiding a group and trying to update a field in that group while hidden was not working. The previous text that was in that field would al...
by istech
Sun Jun 24, 2018 10:27 pm
Forum: iOS Deployment
Topic: There was an error saving the standalone application: (convertxcodeversion)(createplist)
Replies: 2
Views: 1208

Re: There was an error saving the standalone application: (convertxcodeversion)(createplist)

When in doubt search the forum. :D This gem from Panos solved the issue, Thanks Maybe your command line tools are not set to Xcode9.2. Check this: 1. Open Xcode 9.2 2. Select Xcode -> Preferences from Xcode's menubar 3. Click on "Locations" icon 4. In the "Command Line Tools" dropdown, choose "Xcode...
by istech
Sun Jun 24, 2018 6:31 pm
Forum: iOS Deployment
Topic: There was an error saving the standalone application: (convertxcodeversion)(createplist)
Replies: 2
Views: 1208

There was an error saving the standalone application: (convertxcodeversion)(createplist)

Hi Livecoders,

I have a very strange error while creating a standalone. Please see the attached picture. Anyone have any clue the issue here?
Using LC 9. and Xcode 9.2 Thanks
by istech
Sat Jun 16, 2018 9:45 am
Forum: Talking LiveCode
Topic: Truncating long words
Replies: 9
Views: 1434

Re: Truncating long words

truncateToFit(stringToTruncate, nameOfDestinationField) is a function to determine where to truncate a string so that it fits into a destination field with ellipsis as needed. stringToTruncate = Any string or expression that evaluates to a string. nameOfDestinationField = the name of the destinatio...
by istech
Wed Jun 13, 2018 11:22 am
Forum: Talking LiveCode
Topic: Truncating long words
Replies: 9
Views: 1434

Re: Truncating long words

Hi Richard, I have attached a picture of the current issue. I have also attached two examples I am testing out. Similar to yours. See below. I suppose either option will work. Was looking for a property or command I did not know about that I could use. But as Craig said as long as it works. :D Many ...
by istech
Tue Jun 12, 2018 11:08 pm
Forum: Talking LiveCode
Topic: Truncating long words
Replies: 9
Views: 1434

Truncating long words

Hi Livecoders, Got a small issue that been nagging at me. I wonder if anyone can help. I use the function listed below from Livecode to truncate my text fields. However, if there is a long word at the end of the field the Truncating is not performed on the text. Apparently, this method only works if...
by istech
Tue May 29, 2018 5:21 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Copy card
Replies: 6
Views: 4365

Re: Copy card

Something to check, if you have any groups on the card is that you have not selected "can't delete" option as this can cause issues with the copy process.
by istech
Tue May 29, 2018 5:10 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: copy scripts from one stack/card/controls to another stack
Replies: 9
Views: 1087

Re: copy scripts from one stack/card/controls to another stack

The most concerning problem was that the current v9 stack came up with an alert saying corrupt stack. In v9, or an earlier version expecting an earlier format? I wish that was the case. The first time I saw this alert was when I moved from a LC 9 Windows environment to a LC 9 MAC environment. Sayin...
by istech
Mon May 28, 2018 8:23 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: copy scripts from one stack/card/controls to another stack
Replies: 9
Views: 1087

Re: copy scripts from one stack/card/controls to another stack

Thanks for the suggestions Jacque, The most concerning problem was that the current v9 stack came up with an alert saying corrupt stack. Everything still works but I get some problems like some scrambled object ids, select object and getting a different object(checked ids are different), performance...
by istech
Mon May 28, 2018 3:13 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: copy scripts from one stack/card/controls to another stack
Replies: 9
Views: 1087

Re: copy scripts from one stack/card/controls to another stack

Thanks Klaus,

I will give this a go now. This would also work with datagrids as well?
by istech
Mon May 28, 2018 2:19 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: copy scripts from one stack/card/controls to another stack
Replies: 9
Views: 1087

copy scripts from one stack/card/controls to another stack

Hi all, I have a small query. I have a stack that I started developing in LC 7 and moved to LC 9. The upgrade process seemed to work fine until I needed to build a standalone a week later. The size doubled and I found inconsistencies in the functioning of the stack. So I am left with trying to rever...

Go to advanced search