hi,

is it possible to have textboxes in a form which are not mandatory fields but after activating a certain checkbox they become mandatory?

In my case the user can choose to have a different selling adress than the billing adress. If they are equal the second adress doesn't have to be entered so the textboxes are not mandatory. But if they are not equal, this fields should be mandatory fields.

Anyone an idea how to do this?