Short Codes

The application supports ready-made templates and “short codes” for building custom forms which capture data from your clients, profile field values, embedding functionality, such as videos and controlling content appearance.

Position the cursor in your content where you’d like the template or short code inserted and click the Templates button in the toolbar. The Templates dialog is displayed.

Choose the required template or short code from the dropdown list and a description of its purpose and syntax will be displayed.

Read More

You can truncate your coaching content so that only the first part is displayed on the client dashboard. When you do this, a “Read More” link will be placed directly after your excerpt, pointing the client to the full coaching content. You can put the read more short code anywhere in your content.

Adding the Read More short code in your content is as simple as clicking on a line where you would like to end the summary and show a read more link and then click on the Read More button from the toolbar.

Client Name

The {name} short code adds the client name field to program content.

User Name

The {username} short code adds the client username field to program content.

User First Name

The {usernamefirst} short code adds the client’s first name field to program content.

Coach Name

The {coachname} short code adds the coach name / business name field to program content.

Coach Select

The {coachlist} short code presents a list of coaches to the client which once clicked assigns the client to that coach. By default all coaches are displayed, however specific coaches can be specified by using the id=[] parameter separating entries with a comma (,).

The title=[] parameter allows a title to be displayed before the selection and the onetime=[true] parameter controls whether the selection is only presented once to stop client’s being assigned to multiple coaches.

{coachlist id=[109,110] title=[Meet Your Coaches] onetime=[false]}

Program Select

The {programlist} short code presents a list of programs to the client which once clicked assigns the program to that client. The programs can be specified by using the id=[] parameter separating entries with a comma (,).

The title=[] parameter allows a title to be displayed before the selection and the onetime=[true] parameter controls whether the selection is only presented once to stop client’s being assigned multiple / duplicate programs.

{programlist id=[3015] title=[Choose Your Program] onetime=[false]}

Client Profile Fields

The {profile} short codes add fields relating to the client profile / account settings fields which once completed will update their values accordingly.

The available short codes are {profilename}, {profileemail}, {profilepassword}, {profileaddress}, {profiletelephone}, {profilegender}, {profiledob}, {profileheight}, {profilegoals} and {profilemyfitnesspal} relating to the fields on the account settings screen.

Custom Form Fields

Create forms with custom fields & digitally captured signatures to collect client data so you can understand them better and start speaking directly to their needs. Sets, reps and weight? Athletic performance? Compliance questionnaire? No Problem! Coachific lets you define your own custom variables for recording everything you need to measure for individual clients.

At its most basic you simply enter the short code in your content, for example {text}, and the field is presented to the client for completion. Additional parameters are available to extend the field functionality, with common elements as follows.

width=[200] The width parameter allows you to control the width of the field.

backcolor=[#ffffff] The backcolor parameter allows you to control the background color of the field.

forecolor=[#ffffff] The forecolor parameter allows you to control the foreground / text color of the field.

required=[true] The required parameter allows you to control whether the field must be completed before the content can be completed.

Text Field

The {text} short code adds a text field to program content for capturing alpha-numeric data.

{text id=[] width=[200] backcolor=[#ffffff] forecolor=[#000000] required=[true]}

Number Field

The {value} short code adds a number field to program content for capturing numeric only data.

{value id=[] width=[200] backcolor=[#ffffff] forecolor=[#000000] required=[true]}

Text Area Field

The {area} short code adds a text area field to program content for capturing longer alpha-numeric data.

Additional parameters are available for controlling the text area width (columns) and height (rows).

{area id=[] width=[200] backcolor=[#ffffff] forecolor=[#000000] required=[true] columns=[] rows=[]}

Checkbox Field

The {check} short code adds a checkbox field to program content for capturing Yes / No or True / False, etc. data.

{check id=[] width=[200] backcolor=[#ffffff] forecolor=[#000000] required=[true]}

Date Field

The {date} short code adds a date field to program content for capturing Date data.

{date id=[] width=[200] backcolor=[#ffffff] forecolor=[#000000] required=[true]}

Yes / No Field

The {yesno} short code adds a radio button field to program content for capturing Yes / No data.

Additional parameters are available for controlling whether the options are displayed horizontally or vertically (direction) and the number of items (columns).

{yesno id=[] width=[200] backcolor=[#ffffff] forecolor=[#000000] required=[true] columns=[] direction=[vertical]}

Select / Dropdown Field

The {select} short code adds a dropdown field to program content for presenting a list of itemsavailable for selection.

An additional parameter is available for specifying the items available for selection (items) separated by a comma (,).

{select id=[] width=[200] backcolor=[#ffffff] forecolor=[#000000] required=[true] items=[one,two,three]}

Range Field

The {range5} and {range10} short codes present a visual range selection to the client for choosing a value between 1-5 and 1-10 and is ideal for ratings, surveys, questionnaires, etc.

{range5} or {range10}

Signature Field

The {signature} short code presents a visual graphic entry field to the client for signing content and is ideal for forms, waivers, agreements, etc.

{signature}

YouTube Field

The {youtube} short code allows you to specify a YouTube video id and have it embedded in coaching content.

{youtube width=[500] height=[400] id=[v3f-2WG7ONc] autoplay=[off]}

Vimeo Field

The {vimeo} short code allows you to specify a Vimeo video id and have it embedded in coaching content.

{vimeo width=[500] height=[400] id=[108453] autoplay=[off]}

Browse Library

Throughout the application you can insert library entries into messages, programs, content, etc. by clicking the Library action icon.

Once clicked the Library dialog will be displayed where the appropriate entry can be searched and selected. YouTube videos can also be searched and inserted into messages and content.

The {library} short code allows you to specify a library entry and have it embedded in coaching content.

{library title=[Beginner Bodyweight Workout] id=[108453] alternatives=[true] instructions=[true] description=[true] fields=[true]}

See How Coachific Makes Online Personal Training Easy

Try It Free

top