How to require one of two fields to be filled out? Let's say i have two fields in a content type. An integer field and a text field (two options with select list widget) and i want the user to fill out one of the two.
Can someone help me achieve this ?

Thanks
Have a look at the Conditional Fields module.