Dchall_San_Antonio Posted January 17, 2008 Posted January 17, 2008 I am building a little billing program for the people I work with. Some of them are paid on a daily rate and some on hourly. I was thinking of making a radio button to select one or the other. Then I would like to have one field for data input regardless of whether they selected hours or days. Based on the value selected, the data input page would have a label for "Hours Worked," or "Days Worked." Can my version of FMP recognize a field and adjust the text in a label automatically, or will I have to build two different data input layouts?
Fitch Posted January 17, 2008 Posted January 17, 2008 Assuming that your radio button values are actually "Hours Worked," or "Days Worked," just use the field itself as your label.
Dchall_San_Antonio Posted January 18, 2008 Author Posted January 18, 2008 Not quite. Hours (or Days) Worked is an numerical input field, not a binary choice. I was thinking the radio button would go on the page where you select whether you are on an hourly rate or a daily rate. I have one layout for setting up the billing and another layout for recording your time. In the setup you define each project and whether you are paid hourly or daily for that project. Then to use the program for recording your billing, you go to the second layout, select the project by number, and type in your hours or days. I would like the field label in this second layout to show whether this project refers to hourly or daily billing.
Fitch Posted January 18, 2008 Posted January 18, 2008 Hours/Days Worked is a numerical input field, yes. But the radio button field on the setup layout is a text field, right? That's the one I'm saying can be used as the label.
Dchall_San_Antonio Posted January 20, 2008 Author Posted January 20, 2008 I see. I'll give that a try.
Dchall_San_Antonio Posted January 20, 2008 Author Posted January 20, 2008 It works great, thank you! I created a radio button set with the value list words, Day and Hour. Then in the billing layout I inserted a text box with the merge field linked to my new radio box field, followed by an s. So the text box looks like Days or Hours in the browse mode. Just what I wanted, again, thanks.
Recommended Posts
This topic is 6152 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