MostafaElAyoubi / Data-shapes

code for revit, dynamo
50 stars 12 forks source link

Wish: Define inputs in MultiInputForm++ as required #39

Open andydandy74 opened 6 years ago

andydandy74 commented 6 years ago

Hi Mostapha, It would be great if we could define inputs as required. Right now it's up to the script to evaluate the input data downstream and bring the whole affair to a fairly graceful ending in case the user hasn't filled out the form correctly. Basically I am suggesting the following:

MostafaElAyoubi commented 6 years ago

Hi Andreas, Thanks for you message. That's a very interesting thought! I'm trying to figure out the most efficient way to decide wether an input is "valid" or not (because the condition isn't necessarilly the same for all input types .. some will be blank, some will be null etc.). I'll definitely explore this and let you know :)