You could even make the text field appear only when needed exploiting the -on_refresh feature of ad_form.