Accepting Blank Edit note while in entry mode

Discussions about CSEntry
Post Reply
Bharadwaj

Accepting Blank Edit note while in entry mode

Post by Bharadwaj »

Dear Gregory

As you know we are working with CAPI. While doing interviews we have used Edit notes to enter the verbatim. But sometimes without entering anything it is getting closed either pressing on ESC key or clicking on OK. How can we prevent this? Our client says wherever we have given this Edit note shouldn't be closed with blank.

Please help me sort this problem. Thanks.

Regards

Bharadwaj
Gregory Martin
Posts: 1792
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Accepting Blank Edit note while in entry mode

Post by Gregory Martin »

If you want to prevent blank note fields, you will have to use logic, like this:
    str = editnote(); // initially enter the note
    
    
// ensure that the note is not blank
    while str = "" do
        str =
editnote();
    
enddo;
Bharadwaj

Re: Accepting Blank Edit note while in entry mode

Post by Bharadwaj »

Thanks Gregory.
Post Reply