This topic is locked

default value

4/24/2008 4:19:19 AM
PHPRunner General questions
W
webdino author

I want to display a default value in a date field when there is no data in the database
how can I do this?

the default value must be 2 weeks after a dispositions date. Must I make an update beforde display?

how can i compute the values for phprunner to fill in the day month and year dropdown?

J
Jane 4/24/2008

Hi,
you can set uo default value on the "Edit as" settings dialog on the Visual Editor tab.
If you want to display this values only use custom format on the "View as" settings dialog on the Visual Editor tab.

W
webdino author 4/24/2008

but I will compute a new date and it depend on a value of another field in date format
for example Field 1 = 01.01.2008 -> Field 2 should be 14 days after -> 15.01.2008

J
Jane 4/24/2008

To calculate this value when record is added or updated use Before record added or Before record updated events.