This topic is locked

Dependent fields in add program

11/30/2007 5:59:56 PM
PHPRunner General questions
D
drh author

Hello forum members.
I made the jump from PHPR3.1 to PHPR4.1. I hope it was the right move. Let the learning curve begin.
I am trying to create a very simple application to test various criteria I will soon need. Just getting started, and have run into a road block. Hopefully someone on this forum will take the time to send me in the right direction with pointers and examples.
I have a field called 'reason' which is a dropdown wizard field type. I have added these values to the list - Customer Pmt, Insurance Pmt, Other Pmt. I also have a field name 'comment' which should only display if the value of 'reason' = 'Other Pmt.'. If the value is Customer Pmt, or Insurance Pmt, the comment box should not be displayed.
Has anyone done this, and if so, can you briefly discribe how you did it? ie. Can this be done using PHPR or did you have to insert some custom javascript or use some other method?
Thanks for any help.
Dave

D
drh author 11/30/2007

Very sorry, I should have searched the forum better first. It seems this has been answered several times in the past. I will give them a shot and return with any issues.
Thanks,

Dave