Mandatory inputs through code?

@russian-dima Thanks for your help!