This topic is locked

BeforeEdit Event

2/9/2007 3:37:20 AM
ASPRunnerPro General questions
Z
zion4ever author

Hi Folks,
I have some working code in the BeforEdit event.

Now I ha a field called BIRTHDAY in the db which is also on the Edit page.

This a one textbox where people may enter their date of birth.
How can I add 3 dropdown values that hold pre-entered day, month and year, while when saving it only writes to the db field in format dd-mm-yyyy

Also when users want to edit this field, the edit page must read out the dd-mm-yyyy so the right values are displayed in the comboboxes.
TIA
Hans

Sergey Kornilov admin 2/9/2007

Just set Edit as type of this field to Date and choose dropdown boxes as edit format.

Z
zion4ever author 2/9/2007

Thnx, it works fine!