Forms: Text input field
You can find this section in HostBill Admin → Settings → Products & Services → Your order page → Your product → Components → Forms → Add new form field → Standard text fields → Text input field.
Basic settings
In the Basic settings section you can configure:
Field name -Â Â the name for this field
- Description -Â optionally you can add the description for the field
- Form groupÂ
Advanced settings
In the Advanced settings section you can configure:
- Field type
- Variable name - to use in emails
- Admin only - if this option is enabled o
- Required field -Â choose if you want the field to be required to proceed
- Client edit -Â allow to edit this field by client after order using Client Function
- Show in cart - d
- Hide if empty - hide this field in client portal if empty/set to zero
- Searchable -Â make value of this field searchable
- Default - show when priced or enabled in cart and not empty
- Priced - show when selected value isn't free
- Force - show even when it's empty or free
- CSS Class - field container will be displayed with this css class
- Category name
- API use
Input Settings
In the Input settings section you can configure:
- Default value - initial value for the field
- Use current default value for all accounts/domains using this field
- Unique -Â With this option customer would need to enter value that was not used before
- Regular expression -Â Regex to validate field value against, e.g.
/^[0-9]{6}$/
- Replace username -Â When enabled, value of this field will always replace account username
- Hide on transfers -Â This option applies to domains only
Admin access
Choose the admin access settings, if the field is available for:
- all staff members
- selected staff members