Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8589 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello!

Does anyone know if you can create fields in FMPro 5 dynamically, based on the selection of another field? Logically, something like this:

if (popup list) = x then insert into layout x fields x, y, z

if (popup list) = y then insert into layout x fields a, b, c

Thanks,

J

Posted

Design functions, such as creating layouts, fields, scripts, or altering any of them, are not scriptable within FileMaker. It's probably possible to script them using something like QuicKeys or OneClick, but there may be another way to do what you want.

I'm guessing that the purpose of this is to show certain information or hide it depending on selections made by the user. This can be accomplished in at least two ways.

The first is with multiple layouts. Each layout has fields present depending on possible user options. Which layout is entered is controlled through a script that detects the user options and takes the user to the right layout.

The second solution is more complex. It involves a feature of FileMaker that portals will only show the information within them when the relationship they are based on is valid. So you could place a field that you want to have appear and disappear based on user options inside of a portal that is only valid when the user options are correct.

Try going to databasepros.com and searching for "disappear". I believe there is a technique file that will demonstrate this fully.

Chuck

Posted

I'll check out databasepros.com but unfortunately I don't think the idea of having separate layouts will work in this case. Thanks for your help!

-- J

This topic is 8589 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.