April 13, 200718 yr 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
April 13, 200718 yr 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
April 13, 200718 yr Author 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
Create an account or sign in to comment