Skip to main content
OCLC Support

I need to add the Country field in the ILLiad Registration and ChangeUserInformation pages, how do I do this?

Symptom
  • You need the Country field added to your Registration and ChangeUserInforamtion pages
Applies to
  • ILLiad
Resolution

You can add Country following the example of what have in State:

<div class="form-group col-md-4">
  <label for="Country">
     <span class="<#ERROR name='ERRORCountry'>">
        Address Country
     </span>
    <span class="req">(required)</span>
  </label>
  <select id="Country" name="State" size="1" class="custom-select mr-sm-2">
    <#OPTION name='custom' groupname='Country' selectedValue='<#PARAM name='Country'>'>
   </select><br>
</div>


1.  You also need to decide if you want to Require the field in the WebValidation table.  If you do, follow the pattern you have for State.   \

2.  The field is required in this example, you may not need to require it.  If you do not you need to remove the line: 

<span class="req">(required)</span> 

3.  You do not have to add an entry on the WebValidation table.

Page ID
28422