PROMPTing

Discussions related to ReadyDoc development.
Post Reply
dokata
Posts: 17
Joined: Tue Sep 30, 2008 6:16 pm
Location: Honolulu, Hawaii

PROMPTing

Post by dokata »

How can the user be PROMPTed to fill in information and if nothing was entered to place other text without leaving a blank?

i.e. The following is a standard sentence within a paragraph. We would like to prompt the user to enter the name of the defendant and replace "****NAME OF DEFENDANT****" with what was entered. However if nothing was entered, then the default ""****NAME OF DEFENDANT****"" should print.

DEFAULT SENTENCE:
That I am not the ****NAME OF DEFENDANT**** named in a lien.

USER PROMPTED ENTRY SENTENCE:
That I am not the John Jacob Smith named in a lien.
swheatley
Posts: 26
Joined: Thu Sep 11, 2008 1:55 pm
Location: Raleigh, NC
Contact:

Re: PROMPTing

Post by swheatley »

The best way to do that would be to use a custom field and make it promptable by checking the Prompt checkbox on the custom field definition. After you do that here is how you would code it with the custom field:

That I am not the <IF (IsEmpty({{Order.NameOfDefendant#}}))>****NAME OF DEFENDANT****<ELSE>{{Order.NameOfDefendant#}}</IF> named in a lien.

Give that a try and see if it works for your doc.

Shelby
dokata
Posts: 17
Joined: Tue Sep 30, 2008 6:16 pm
Location: Honolulu, Hawaii

Re: PROMPTing

Post by dokata »

Thank you so much
Post Reply