Hi, I am trying to autogenerate a DocID which has to be a new no for every new form entry. I can use an inline, but it does it all the time, even if it is an edit. So went for script which checks the field if it is already populated. if not has to fill it up. for that can i use a perl program which does that work. I will call it by callserver. if i can, how can i pass the value generated by the perl program to fill in the field using setValue ?? Please advise..