Edit Parsing Rule Dialog

Top  Previous  Next

 

When you Edit or add a New parsing rule from the Edit Parsing Set dialog, the Edit Parsing Rule dialog is shown.

 

The basic method of entering a rule is to set each of the fields in this dialog, in top to bottom order (some fields will be disabled based on the Parsing action choice, so not all fields need to be entered in all cases).

 

The details of all the different types of rules and how they're used is covered in the section Parsing Rule Technical Details.

 

 

Where to look for field -- This has two choices, "Anywhere in the text" or "After previous field".  

 

Parsing action -- There are several choices for what to do if this rule is satisfied.  Just select from the list.

 

Text before field, Text after field, Compare to, and Set value to -- enter the text for any of these that are needed, according to the selected parsing action.

 

Number of Characters -- enter the maximum number of characters to extract (from between the Before and After text), or the exact number of characters to extract if the After text is blank.

 

Field descriptor -- This is the Campground Master data field (e.g. reservation, customer, or transaction field) that will be set to the value resulting for the parsing rule.  It will show the descriptor in text here and you can edit it, but the easiest way to set the field descriptor is to use the Select Field button, which opens the Select a Data Field dialog.

 

Append to any previous text for the same field -- Select this box if you want the parsed text to be added to the field instead of replacing it.  For instance there may be several bits of information in the request that you want to put in the Reservation Notes.

 

Convert to Mixed-case, Convert to UPPER-case -- select one of these if you want the parsed text to be converted automatically.  This is commonly used for names and addresses, in case the customer didn't use the proper capitalization.

 

Trim any extra leading and trailing spaces from the value -- Actually all data fields are ultimately trimmed before being saved into a reservation, so this option is checked by default.  However this option can be disabled for intermediate parsing, for instance when appending several bits of text to one field.  This allows you to insert spaces where needed or keep any spaces in the extracted data.

 

Notes -- You can add any notes you want, which could be handy for an unusual parsing setup that you may need to figure out at a later date.  This dialog is the only place these notes will be shown.

 

 

Further Topics:

 

Parsing Sets Overview

 

 


Page URL http://CampgroundMaster.com/help/editparsingruledialog.html

Campground Master Home