dbTalk Databases Forums  

Filemaker 11: Show custom dialog, user input field?

comp.databases.filemaker comp.databases.filemaker


Discuss Filemaker 11: Show custom dialog, user input field? in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Deepti
 
Posts: n/a

Default Filemaker 11: Show custom dialog, user input field? - 10-29-2010 , 01:59 PM






Hi,

I am trying to ask the user using the custom dialog box for an
activityid and then do a find with the activityid.

In the show custom dialog box, one button is ok, one button is cancel
and there is an input field where the user enters the activityid.
In the next step, i want to get the activityid from the user input
field and then do a find in the database using that value.
I am unable to get the value that the user enters. Get Last message
choice function==3 returns 1 as a value. Not sure how I need to change
it. Please help.

Thank you
Deepti

Reply With Quote
  #2  
Old   
Lynn Allen
 
Posts: n/a

Default Re: Filemaker 11: Show custom dialog, user input field?X-TraceApproved - 10-29-2010 , 02:37 PM






On 2010-10-29 11:59:03 -0700, Deepti <dpulavarthi (AT) gmail (DOT) com> said:

Quote:
I am trying to ask the user using the custom dialog box for an
activityid and then do a find with the activityid.

In the show custom dialog box, one button is ok, one button is cancel
and there is an input field where the user enters the activityid.
In the next step, i want to get the activityid from the user input
field and then do a find in the database using that value.
I am unable to get the value that the user enters. Get Last message
choice function==3 returns 1 as a value. Not sure how I need to change
it. Please help.
Contrary to logic and user-interface standards, the data is preserved
and available for transfer from the input field (which should be a
global for easy access, btw) ONLY when button number 1 is designated as
the "proceed" button. It can be labelled OK or Go or Submit or anything
you want, but if it's Cancel, and button 2 or three says OK, the data
isn't preserved.

FMI has a lot to answer for on this one. Stupid design. Mostly I have
button 1 as my Cancel button, but where I need to transfer data, I have
to move it to 2 or 3.

Also, closing the dialog box using the X or close button will transfer
the data. But users don't know that, and you have to account for it in
the programming. Users may think that using the X cancels the script. :/
--
Lynn Allen
--
www.semiotics.com
Member FBA
FM 10 Certified Developer

Reply With Quote
  #3  
Old   
Howard Schlossberg
 
Posts: n/a

Default Re: Filemaker 11: Show custom dialog, user input field? - 10-29-2010 , 02:54 PM



On 10/29/2010 11:59 AM, Deepti wrote:
Quote:
I am trying to ask the user using the custom dialog box for an
activityid and then do a find with the activityid.

In the show custom dialog box, one button is ok, one button is cancel
and there is an input field where the user enters the activityid.
In the next step, i want to get the activityid from the user input
field and then do a find in the database using that value.
I am unable to get the value that the user enters. Get Last message
choice function==3 returns 1 as a value. Not sure how I need to change
it. Please help.
The content of any user input fields will only be saved when
get(lastmessagechoice) = 1. Otherwise, any changes to that those fields
will be discarded.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Howard Schlossberg
FM Professional Solutions, Inc. Los Angeles

FileMaker Certified Developer
Associate Member, FileMaker Business Alliance

Reply With Quote
  #4  
Old   
 
Posts: n/a

Default Re: Filemaker 11: Show custom dialog, user input field? - 10-30-2010 , 08:59 AM



"Howard Schlossberg" <howard (AT) nospam (DOT) fmprosolutions.com> schreef in bericht
news:iaf8qc$e28$1 (AT) news (DOT) motzarella.org...
Quote:
On 10/29/2010 11:59 AM, Deepti wrote:
I am trying to ask the user using the custom dialog box for an
activityid and then do a find with the activityid.

In the show custom dialog box, one button is ok, one button is cancel
and there is an input field where the user enters the activityid.
In the next step, i want to get the activityid from the user input
field and then do a find in the database using that value.
I am unable to get the value that the user enters. Get Last message
choice function==3 returns 1 as a value. Not sure how I need to change
it. Please help.

The content of any user input fields will only be saved when
get(lastmessagechoice) = 1. Otherwise, any changes to that those fields
will be discarded.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Howard Schlossberg
FM Professional Solutions, Inc. Los Angeles

FileMaker Certified Developer
Associate Member, FileMaker Business Alliance
And it is practical to store the user input (activityid) in a global field
then you can do anything you want with that info.

Keep well, Ursus

Reply With Quote
  #5  
Old   
105
 
Posts: n/a

Default Re: Filemaker 11: Show custom dialog, user input field? - 11-01-2010 , 04:53 PM



On 30/10/10 6:07 AM, Lynn Allen wrote:
Quote:
On 2010-10-29 11:59:03 -0700, Deepti <dpulavarthi (AT) gmail (DOT) com> said:

I am trying to ask the user using the custom dialog box for an
activityid and then do a find with the activityid.

In the show custom dialog box, one button is ok, one button is cancel
and there is an input field where the user enters the activityid.
In the next step, i want to get the activityid from the user input
field and then do a find in the database using that value.
I am unable to get the value that the user enters. Get Last message
choice function==3 returns 1 as a value. Not sure how I need to change
it. Please help.

Contrary to logic and user-interface standards, the data is preserved
and available for transfer from the input field (which should be a
global for easy access, btw) ONLY when button number 1 is designated as
the "proceed" button. It can be labelled OK or Go or Submit or anything
you want, but if it's Cancel, and button 2 or three says OK, the data
isn't preserved.

FMI has a lot to answer for on this one. Stupid design.

Also non-compliant with Apple interface guidelines of default action =
'do no harm'.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.