AnsweredAssumed Answered

'Hide object when' disappears when script is added to or remove from a Field (Not a button)

Question asked by cjcj01 on Feb 17, 2014
Latest reply on Feb 18, 2014 by cjcj01

Summary

'Hide object when' disappears when script is added to or remove from a Field (Not a button)

Product

FileMaker Pro

Version

13

Operating system version

Mac OS X

Description of the issue

a) The calculation for 'Hide Object when' disappears when you remove a script from a field
b) The calculation for 'Hide Object when' disappears when you add a script to a field

This is not an issue when using buttons, only fields from the database.

Steps to reproduce the problem

For a)
1: Make a new database, add a field (not a button) - "test", drag field to new layout.
2: Create any script with one script step
3: Click the field and go to button set up.  Click 'perform a script' and select your script above. Press OK.
4: Add a 'Hide object when' Calc e.g.  database::test = 1
5: Double click the field and change the Button Setup to 'Do Nothing'

Result: 'Hide Object When' calc will disappear

For b)
1: Add a field to the layout.
2: Add a 'Hide object when' Calc e.g.  database::test = 1
3: Click the field and go to button set up.  Click 'perform a script' and select your script above. Press OK.

Result: 'Hide Object When' calc will disappear

4: Click the field and go to button set up.  Remove the script by going to 'Do Nothing'

Result: 'Hide Object When' calc will reappear

Expected result

'Hide Object When' calc should not disappear and reappear

Actual result

'Hide Object When' calc disappears!!

Exact text of any error message(s) that appear

N/A

Configuration information

None

Workaround

Don't apply or remove your scripts when using the calc!

Outcomes