Week Recurring Events

hear i attached one screen short , in that i want to repeat only from (1 to 4) weeks . So i want validate that field so can you tell me the method & where can i do the validation


You can add modifications to the

scheduler.form_blocks.recurring.get_value

dhtmlxscheduler_recurring.js
function get_repeat_code, line 42