2 posts in this topic
I am working on a layout that auto-populates a bunch of data from related fields. One of the fields is called district_number which has the numerical 1-12 value, depending on the district. I am trying to get a script to read the district number, then based on the value have it populate data in another field.
I started by setting the district_number as a variable, $DistrictNumber
Then I have the If statement:
If[$DistrictAddress = "01"]
Insert Text [Select;xxx::district_address_label; "District 1 P.O. Box 3700 blah blah blah"]
Else If [$DistrictAddress = "02"]
Insert Text [Select;xxx::district_address_label; "District 2 P.O. Box 3700 blah blah blah"]
Else If [$DistrictAddress = "03"]
Insert Text [Select;xxx::district_address_label; "District 3 P.O. Box 3700 blah blah blah"]
But ti doesn't work. Any help on what I am doing wrong is much appreciated!!
Thank in advance,
here is an image of how it looks
By Ali A.
I have a search field, a user types his customer number in it.
I want to when a user types his customer number and press inter-script run.
how can I do this work? I use on object keystroke but when I want to type number script run and user can't type phone numbers.
how can I fix this?
By Jason Mundok
I have a website that is displaying FileMaker data using the PHP API. Is there a way for the web site to display the basic text formatting from a FileMaker field? For example, a few words in the comments field are bold in FileMaker and I would like them to also be bold on the website. Thanks for any ideas.
In one of my layouts I have created an ID Card like view that has a persons image and layered over the top of it I have some fields.
Is there a way to export that composite as an image?
I was thinking something like if I grouped the composite and gave it a name I could export it as a script step but searching came up with mostly how to copy layout objects to a different layout...
Currently it works to screenshot the composite but I would like to automate the process a little bit.
Thanks for any help
I'm looking to create a script and place it in a button to exist on two layouts (BACKUP and MAIN), to accomplish the following when activated from either layout:
Copy current ACCTNUMBER
If current layout is MAIN
then go to BACKUP layout and show the same ACCTNUMBER record.
current layout is BACKUP
then go to MAIN layout and show the same ACCTNUMBER record.
....I'm sure it's a no brainer but right now I'm totally missing some small step to start the script ....help?