Search found 133 matches

by istech
Sat Nov 28, 2020 11:49 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Saving Datagrid Form Field Inputs
Replies: 2
Views: 372

Re: Saving Datagrid Form Field Inputs

(As a possible solution for anyone finding this post) I resolved this issue by using the openfield message instead of mouseup etc in the row behaviour script. I followed the message watcher and the openfield message was getting called instead of the expected mouseup/mousedown etc.
by istech
Fri Nov 27, 2020 3:53 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Saving Datagrid Form Field Inputs
Replies: 2
Views: 372

Re: Saving Datagrid Form Field Inputs

On further searching I came across this post. Investigating at the moment.

viewtopic.php?t=32980
by istech
Fri Nov 27, 2020 1:03 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Saving Datagrid Form Field Inputs
Replies: 2
Views: 372

Saving Datagrid Form Field Inputs

Hi All, I hope you all are doing well. I hope someone can help here. I have a form datagrid with a custom template which have fields in them I have added the row script which sets the text in the fields fine. But I also so want the user to be able to edit the information and save to the datagrid arr...
by istech
Sun Aug 19, 2018 8:28 am
Forum: CGIs and the Server
Topic: POST_[] RESULT to TEXT FIELD
Replies: 8
Views: 4241

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: 4241

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: 4241

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: 4241

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: 1062

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: 1945

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: 1945

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: 11
Views: 3807

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: 11
Views: 3807

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: 11
Views: 3807

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: 5803

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: 2632

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...

Go to advanced search