implemented inputmask for share option