js22 Posted April 13, 2007 Posted April 13, 2007 Hello, I have a quick question. I have a layout that has two fields on it. Above those two fields I have a button. What I would like to do is have it so when you click the button it unlocks the two fields and allows data entry. Is this possible? Before I converted to filemaker I was using MS Access and you could do conditional fields. So I would have a set of radio buttons and if Field1=0 then the fields are grayed out and if Field1=1 then they are not grayed out. This is the sort of thing I would like to do but if I do it with a script that's good enough for me. Thanks js22
mr_vodka Posted April 13, 2007 Posted April 13, 2007 The button can just simply toggle the field to a boolean value. Then on each field, you can have it be a button that runs a script iwth passing a parameter. If [flag] If [ Get (ScriptParameter) = field1 ] Go to Field [Field1] Else Go to Field [Field2] End If Else Show custom Message ["Can not modify"] End If Or you can take a look at these methods. Visibility technique Raybaudi's permission sample
js22 Posted April 13, 2007 Author Posted April 13, 2007 Thanks, I'll toy around with the code. I looked at the attachments and I think between them all I can get what I'm looking for. js22
Recommended Posts
This topic is 6435 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 accountSign in
Already have an account? Sign in here.
Sign In Now