DayBackForFileMaker

Custom Fields: adding more fields to the popover in DayBack Calendar

DayBackForFileMaker.AdditionalFields History

Hide minor edits - Show changes to output

April 28, 2023, at 05:38 PM by 192.88.134.15 -
Changed lines 7-8 from:
%newwin, width=500% [[https://www.seedcode.com/rootimages/stikipad/dayback/AdditionalFieldsSF.png | https://www.seedcode.com/rootimages/stikipad/dayback/AdditionalFieldsSF.png]]
to:
%newwin, width=500% [[https://archive.seedcode.com/rootimages/stikipad/dayback/AdditionalFieldsSF.png | https://archive.seedcode.com/rootimages/stikipad/dayback/AdditionalFieldsSF.png]]
Changed line 21 from:
%newwin, width=500% [[https://www.seedcode.com/rootimages/stikipad/dayback/additionalfieldsscript.png | https://www.seedcode.com/rootimages/stikipad/dayback/additionalfieldsscript.png]]
to:
%newwin, width=500% [[https://archive.seedcode.com/rootimages/stikipad/dayback/additionalfieldsscript.png | https://archive.seedcode.com/rootimages/stikipad/dayback/additionalfieldsscript.png]]
February 28, 2020, at 04:58 PM by 192.88.134.15 -
February 28, 2020, at 04:58 PM by 192.88.134.15 -
Changed line 1 from:
(:title Additional Fields: adding more fields to the popover in DayBack Calendar:)
to:
(:title Custom Fields: adding more fields to the popover in DayBack Calendar:)
April 04, 2018, at 01:57 AM by 192.88.134.15 -
Changed line 33 from:
-> '''� Number label''': use his to include prefix like "$" or a suffix like " each". Only applies to the formats number, currency, and percent.
to:
-> '''Number label''': use his to include prefix like "$" or a suffix like " each". Only applies to the formats number, currency, and percent.
April 04, 2018, at 01:57 AM by 192.88.134.15 -
Changed line 27 from:
-> '''� Field name in FileMaker''': this is the FileMaker field that DayBack will read from and write to. Just enter the field name itself without the table occurrence.
to:
-> '''Field name in FileMaker''': this is the FileMaker field that DayBack will read from and write to. Just enter the field name itself without the table occurrence.
April 04, 2018, at 01:55 AM by 192.88.134.15 -
Changed lines 29-32 from:
-> '''� Display As...''': this is the field label that will show up above the field in DayBack's popover

-> '''� Format''': here you'll determine what the formatting options are (is it a date picker, or a currency field, for example). See "Formatting Options" below.
to:
-> '''Display As...''': this is the field label that will show up above the field in DayBack's popover

-> '''Format''': here you'll determine what the formatting options are (is it a date picker, or a currency field, for example). See "Formatting Options" below.
Changed lines 35-46 from:
-> '''� Position''': determines if the number label goes before or after the number. Only applies to the formats number, currency, and percent.

-> '''� Character to use for decimal''': Select a comma or period to use as your decimal notation. Only applies to the formats number, currency, and percent.

-> '''� Decimal places''': If you choose to round a value by adding a number of decimal places, DayBack will round the value when displayed in the popover, but send the actual entered value to FileMaker. So if you set up your field to show two decimal places and enter 4.138, DayBack will show 4.14 but send 4.138 to FM. Only applies to the formats number, currency, and percent.

-> '''� Thousands separator''': Select a comma or period to use as your separator. Only applies to the formats number, currency, and percent.

-> '''� Value list items''': for the format "radio" and "select" you can provide a value list: separate your values with commas and surround them with brackets as shown in the screenshot above. If you'd like to include a comma IN your values, just enclose in single quotes like this: Sindelar',' John

-> '''� Allow multiple selection''': The "select" format can optionally be set to allow users to select more than one value at a time from the value list.
to:
-> '''Position''': determines if the number label goes before or after the number. Only applies to the formats number, currency, and percent.

-> '''Character to use for decimal''': Select a comma or period to use as your decimal notation. Only applies to the formats number, currency, and percent.

-> '''Decimal places''': If you choose to round a value by adding a number of decimal places, DayBack will round the value when displayed in the popover, but send the actual entered value to FileMaker. So if you set up your field to show two decimal places and enter 4.138, DayBack will show 4.14 but send 4.138 to FM. Only applies to the formats number, currency, and percent.

-> '''Thousands separator''': Select a comma or period to use as your separator. Only applies to the formats number, currency, and percent.

-> '''Value list items''': for the format "radio" and "select" you can provide a value list: separate your values with commas and surround them with brackets as shown in the screenshot above. If you'd like to include a comma IN your values, just enclose in single quotes like this: Sindelar',' John

-> '''Allow multiple selection''': The "select" format can optionally be set to allow users to select more than one value at a time from the value list.
Changed lines 51-67 from:
--> '''� Edit''' - This is an expandable text box that you can point at any text field.

--> '''� Number''' - A simple number field with lots of formatting options including leading and trailing labels (like "each" or "kg").  Under the hood only the numeric value of number and currency fields is sent to FileMaker: currency labels, etc. are not.

--> '''� Currency''' - A special number field to which DayBack will add some default formatting. Feel free to change your currency symbol and alignment to suit your preferences.

--> '''� Percent''' - Like currency, this is a number field that DayBack pre-formats for you. Feel free to change the formatting.

--> '''� URL''' - A text box above which DayBack will render a "go" button so users can open the url by clicking on it. You don't have to enter the http or https prefixes if you don't want to.

--> '''� Checkbox''' - This will show a single checkbox beside the field label (like "approved" in the screenshot at the top of this page. The value "true" will be set into whichever field you choose.

--> '''� Date''' - You can use this for any date or text field: we aim to support timestamp fields in a subsequent release. Clicking in the field will bring your users to a date picker to help them visually select a date.

--> '''� Radio''' - Like "Class" in the screenshot above, you'll be able to select one of the values you enter in List Items (which makes up the value list for this field). Separate your values in List Items by commas.

--> '''� Select''' - This option presents your List Items in a new drawer and lets you select one or more of them (multiple selection is an option for this format). The values you enter in List Items make up the pick list for this field: separate your values in List Items by commas.
to:
--> '''Edit''' - This is an expandable text box that you can point at any text field.

--> '''Number''' - A simple number field with lots of formatting options including leading and trailing labels (like "each" or "kg").  Under the hood only the numeric value of number and currency fields is sent to FileMaker: currency labels, etc. are not.

--> '''Currency''' - A special number field to which DayBack will add some default formatting. Feel free to change your currency symbol and alignment to suit your preferences.

--> '''Percent''' - Like currency, this is a number field that DayBack pre-formats for you. Feel free to change the formatting.

--> '''URL''' - A text box above which DayBack will render a "go" button so users can open the url by clicking on it. You don't have to enter the http or https prefixes if you don't want to.

--> '''Checkbox''' - This will show a single checkbox beside the field label (like "approved" in the screenshot at the top of this page. The value "true" will be set into whichever field you choose.

--> '''Date''' - You can use this for any date or text field: we aim to support timestamp fields in a subsequent release. Clicking in the field will bring your users to a date picker to help them visually select a date.

--> '''Radio''' - Like "Class" in the screenshot above, you'll be able to select one of the values you enter in List Items (which makes up the value list for this field). Separate your values in List Items by commas.

--> '''Select''' - This option presents your List Items in a new drawer and lets you select one or more of them (multiple selection is an option for this format). The values you enter in List Items make up the pick list for this field: separate your values in List Items by commas.
December 08, 2017, at 07:01 PM by KC Embrey - Fixed some ¶ characters
Changed lines 73-74 from:
You'll now edit that field for each source to which you added custom fields.
to:
You'll edit that field for each source to which you added custom fields.
Changed line 77 from:
Quote ( Substitute ( sc_tags ; [ "�" ; "\n" ] ; [Char(10) ; "\n"] ; [Char(8232) ; "\n"] ; [Char(8233) ; "\n"] ) )
to:
Quote ( Substitute ( sc_tags ; [ "" ; "\n" ] ; [Char(10) ; "\n"] ; [Char(8232) ; "\n"] ; [Char(8233) ; "\n"] ) )
Changed lines 82-83 from:
Quote ( Substitute ( sc_tags ; [ "�" ; "\n" ] ; [Char(10) ; "\n"] ; [Char(8232) ; "\n"] ; [Char(8233) ; "\n"] ) ) ;
[[<<]] Quote ( Substitute ( ItemClass ; [ "�" ; "\n" ] ; [Char(10) ; "\n"] ; [Char(8232) ; "\n"] ; [Char(8233) ; "\n"] ) )
to:
Quote ( Substitute ( sc_tags ; [ "" ; "\n" ] ; [Char(10) ; "\n"] ; [Char(8232) ; "\n"] ; [Char(8233) ; "\n"] ) ) ;
[[<<]] Quote ( Substitute ( ItemClass ; [ "" ; "\n" ] ; [Char(10) ; "\n"] ; [Char(8232) ; "\n"] ; [Char(8233) ; "\n"] ) )
November 18, 2017, at 11:56 PM by 192.88.134.15 -
Changed lines 7-8 from:
%newwin, width=500% [[https://www.seedcode.com/rootimages/stikipad/dayback/AdditionalFieldsSF.png | https://www.seedcode.com/rootimages/stikipad/dayback/AdditionalFieldsSF.png]]
to:
%newwin, width=500% [[https://www.seedcode.com/rootimages/stikipad/dayback/AdditionalFieldsSF.png | https://www.seedcode.com/rootimages/stikipad/dayback/AdditionalFieldsSF.png]]
Changed line 21 from:
%newwin, width=500% [[https://www.seedcode.com/rootimages/stikipad/dayback/additionalfieldsscript.png | https://www.seedcode.com/rootimages/stikipad/dayback/additionalfieldsscript.png]]
to:
%newwin, width=500% [[https://www.seedcode.com/rootimages/stikipad/dayback/additionalfieldsscript.png | https://www.seedcode.com/rootimages/stikipad/dayback/additionalfieldsscript.png]]
November 13, 2017, at 08:17 PM by 192.88.134.15 -
Changed line 80 from:
...copy that line and add a semicolon after it, then past the line back in replacing "sc_tags" with the name of your custom field. Be sure to add these in the order you've added them to the script in part 1. Here is how the List() section would end after I add an additional field named ItemClass:
to:
...copy this line, add a semicolon after it, and then paste the line back in after the semicolon, replacing "sc_tags" with the name of your custom field. Be sure to add these in the order you've added them to the script in part 1. Here is how the List() section would end after I add an additional field named ItemClass:
July 06, 2017, at 04:18 PM by 192.88.134.15 -
Changed line 43 from:
-> '''� Value list items''': for the format "radio" and "select" you can provide a value list: separate your values with commas and surround them with brackets as shown in the screenshot above.
to:
-> '''� Value list items''': for the format "radio" and "select" you can provide a value list: separate your values with commas and surround them with brackets as shown in the screenshot above. If you'd like to include a comma IN your values, just enclose in single quotes like this: Sindelar',' John
May 18, 2017, at 03:43 PM by 192.88.134.15 -
Changed line 47 from:
!! Formatting Options
to:
!! Format Options
May 18, 2017, at 03:43 PM by 192.88.134.15 -
Changed line 59 from:
-> '''� URL''' - A text box above which DayBack will render a "go" button so users can open the url by clicking on it. You don't have to enter the http or https prefixes if you don't want to.
to:
--> '''� URL''' - A text box above which DayBack will render a "go" button so users can open the url by clicking on it. You don't have to enter the http or https prefixes if you don't want to.
May 18, 2017, at 03:43 PM by 192.88.134.15 -
May 18, 2017, at 03:43 PM by 192.88.134.15 -
Changed lines 77-79 from:
-> Quote ( Substitute ( sc_tags ; [ "�" ; "\n" ] ; [Char(10) ; "\n"] ; [Char(8232) ; "\n"] ; [Char(8233) ; "\n"] ) )
[[<<]] -> )
to:
Quote ( Substitute ( sc_tags ; [ "�" ; "\n" ] ; [Char(10) ; "\n"] ; [Char(8232) ; "\n"] ; [Char(8233) ; "\n"] ) )
[[<<]] )
Changed line 82 from:
-> Quote ( Substitute ( sc_tags ; [ "�" ; "\n" ] ; [Char(10) ; "\n"] ; [Char(8232) ; "\n"] ; [Char(8233) ; "\n"] ) ) ;
to:
Quote ( Substitute ( sc_tags ; [ "�" ; "\n" ] ; [Char(10) ; "\n"] ; [Char(8232) ; "\n"] ; [Char(8233) ; "\n"] ) ) ;
May 18, 2017, at 03:42 PM by 192.88.134.15 -
Changed line 78 from:
-> [[<<]] )
to:
[[<<]] -> )
May 18, 2017, at 03:42 PM by 192.88.134.15 -
Changed line 78 from:
[[<<]] )
to:
-> [[<<]] )
May 18, 2017, at 03:42 PM by 192.88.134.15 -
Changed line 27 from:
-> '''� Field name in FileMaker'': this is the FileMaker field that DayBack will read from and write to. Just enter the field name itself without the table occurrence.
to:
-> '''� Field name in FileMaker''': this is the FileMaker field that DayBack will read from and write to. Just enter the field name itself without the table occurrence.
May 18, 2017, at 03:41 PM by 192.88.134.15 -
Changed line 77 from:
Quote ( Substitute ( sc_tags ; [ "�" ; "\n" ] ; [Char(10) ; "\n"] ; [Char(8232) ; "\n"] ; [Char(8233) ; "\n"] ) )
to:
-> Quote ( Substitute ( sc_tags ; [ "�" ; "\n" ] ; [Char(10) ; "\n"] ; [Char(8232) ; "\n"] ; [Char(8233) ; "\n"] ) )
Changed line 82 from:
Quote ( Substitute ( sc_tags ; [ "�" ; "\n" ] ; [Char(10) ; "\n"] ; [Char(8232) ; "\n"] ; [Char(8233) ; "\n"] ) ) ;
to:
-> Quote ( Substitute ( sc_tags ; [ "�" ; "\n" ] ; [Char(10) ; "\n"] ; [Char(8232) ; "\n"] ; [Char(8233) ; "\n"] ) ) ;
Changed lines 84-86 from:
[[<<]] )
to:
[[<<]] )

Once you've added a new line like this for each of your custom fields, run DayBack's "Upon Opening" script again to see your changes take effect.
May 18, 2017, at 03:29 PM by 192.88.134.15 -
Changed lines 78-79 from:
\\ )
to:
[[<<]] )
Changed lines 83-84 from:
\\ Quote ( Substitute ( ItemClass ; [ "�" ; "\n" ] ; [Char(10) ; "\n"] ; [Char(8232) ; "\n"] ; [Char(8233) ; "\n"] ) )
\\ )
to:
[[<<]] Quote ( Substitute ( ItemClass ; [ "�" ; "\n" ] ; [Char(10) ; "\n"] ; [Char(8232) ; "\n"] ; [Char(8233) ; "\n"] ) )
[[<<]] )
May 18, 2017, at 03:29 PM by 192.88.134.15 -
Changed lines 78-79 from:
to:
\\ )
Changed lines 83-84 from:
Quote ( Substitute ( ItemClass ; [ "�" ; "\n" ] ; [Char(10) ; "\n"] ; [Char(8232) ; "\n"] ; [Char(8233) ; "\n"] ) )
to:
\\ Quote ( Substitute ( ItemClass ; [ "�" ; "\n" ] ; [Char(10) ; "\n"] ; [Char(8232) ; "\n"] ; [Char(8233) ; "\n"] ) )
\\
)
May 18, 2017, at 03:28 PM by 192.88.134.15 -
Changed lines 78-81 from:
\\)

...copy that line and add a semicolon after it, then past the line back in replacing "sc_tags" with the name of your custom field. Be sure to add these in the order you've added them to the script in part 1. Here is how the List() secti
to:

...copy that line and add a semicolon after it, then past the line back in replacing "sc_tags" with the name of your custom field. Be sure to add these in the order you've added them to the script in part 1. Here is how the List() section would end after I add an additional field named ItemClass:

Quote ( Substitute ( sc_tags ; [ "�" ; "\n" ] ; [Char(10) ; "\n"] ; [Char(8232) ; "\n"] ; [Char(8233) ; "\n"] ) ) ;
Quote ( Substitute ( ItemClass ; [ "�" ; "\n" ] ; [Char(10) ; "\n"] ; [Char(8232) ; "\n"] ; [Char(8233) ; "\n"] ) )
May 18, 2017, at 03:27 PM by 192.88.134.15 -
Changed line 78 from:
)
to:
\\)
May 18, 2017, at 03:27 PM by 192.88.134.15 -
Changed lines 17-24 from:
Click "Administrator Settings" in DayBack's "Settings" tab and click "FileMaker Server" under Calendar Sources in the left hand sidebar. Select the source you want and scroll down past the "Field Mapping" section (where the Start and End fields are) until you see "Additional Fields". There you can click "Add New Additional Field" to add field to DayBack's popover.

%newwin, width=500% [[https://www.seedcode.com/rootimages/stikipad/daybackonline/FMSadditionalFieldsSetup.png | https://www
.seedcode.com/rootimages/stikipad/daybackonline/FMSadditionalFieldsSetup.png]]

For each additional field there are three required values along with a few formatting options:

-> '''� Display As''':
this is the field label that will show up above the field in DayBack's popover
to:
Edit the script "Load Source Settings at Startup --- Describe Your Sources Here ---" and you'll see a comment at line 31 that begins "Additional fields for WebViewer popover".

Edit the following SetVariable line
and you'll see a calculation in which you can tell DayBack about the additional fields you'd like to show. Each field has 10 attributes which have "NA" in them by default (not applicable). Replace "NA" in each instance to configure your field. Here is an example with just one custom field added (the "Class" field shown in the screenshot above):

%newwin, width=500% [[https://www.seedcode.com/rootimages/stikipad/dayback/additionalfieldsscript.png | https://www.seedcode.com/rootimages/stikipad/dayback/additionalfieldsscript.png]]

Note that this script has one section for each of your sources. The section for Source No 1 starts at line 14. The section for Source No 2 starts at line 51 so you can add additional fields to each of your sources by editing the "Additional fields..." section for each source.

Here are details on each of the 10 available parameters...

-> '''� Field name in FileMaker'': this is the FileMaker field that DayBack will read from and write to. Just enter the field name itself without the table occurrence.

-> '''� Display As...
''': this is the field label that will show up above the field in DayBack's popover
Changed lines 33-34 from:
-> '''� Store in Field''': this is the FileMaker field that DayBack will read from and write to. Just enter the field name itself without the table occurrence.
to:
-> '''� Number label''': use his to include prefix like "$" or a suffix like " each". Only applies to the formats number, currency, and percent.

-> '''� Position''': determines if the number label goes before or after the number. Only applies to the formats number, currency, and percent.

-> '''� Character to use for decimal''': Select a comma or period to use as your decimal notation. Only applies to the formats number, currency, and percent.

-> '''� Decimal places''': If you choose to round a value by adding a number of decimal places, DayBack will round the value when displayed in the popover, but send the actual entered value to FileMaker. So if you set up your field to show two decimal places and enter 4.138, DayBack will show 4.14 but send 4.138 to FM. Only applies to the formats number, currency, and percent.

-> '''� Thousands separator''': Select a comma or period to use as your separator. Only applies to the formats number, currency, and percent.

-> '''� Value list items''': for the format "radio" and "select" you can provide a value list: separate your values with commas and surround them with brackets as shown in the screenshot above.

-> '''� Allow multiple selection''': The "select" format can optionally be set to allow users to select more than one value at a time from the value list.

Changed lines 51-58 from:
-> '''� Edit Box''' - This is an expandable text box that you can point at any text field.

-> '''� Number''' - A simple number field with lots of formatting options including leading and trailing labels (like "each" or "kg").  Under the hood only the numeric value of number and currency fields is sent to FileMaker: currency labels, etc. are not. If you choose to round a value by adding a number of decimal places, DayBack will round the value when displayed in the popover, but send the actual entered value to FileMaker. So if you set up your field to show two decimal places and enter 4.138, DayBack will show 4.14 but send 4.138 to FM.

-> '''� Currency''' - A special number field to which DayBack will add some default formatting. Feel free to change your currency symbol and alignment to suit your preferences.

-> '''� Percent''' - Like currency, this is a number field that DayBack pre-formats for you. Feel free to change the formatting.
to:
--> '''� Edit''' - This is an expandable text box that you can point at any text field.

--> '''� Number''' - A simple number field with lots of formatting options including leading and trailing labels (like "each" or "kg").  Under the hood only the numeric value of number and currency fields is sent to FileMaker: currency labels, etc. are not.

--> '''� Currency''' - A special number field to which DayBack will add some default formatting. Feel free to change your currency symbol and alignment to suit your preferences
.

-->
'''� Percent''' - Like currency, this is a number field that DayBack pre-formats for you. Feel free to change the formatting.
Changed lines 61-68 from:
-> '''� Checkbox''' - This will show a single checkbox beside the field label (like "approved" at the top of the screen. The value "true" will be set into whichever field you choose.

-> '''� Radio Button Set''' - Like "Class" in the screenshot above, you'll be able to select one of the values you enter in List Items (which makes up the value list for this field). Separate your values in List Items by commas.

-> '''� Picklist
''' - This option presents your List Items in a new drawer and lets you select one or more of them (multiple selection is an option for this format). The values you enter in List Items make up the pick list for this field: separate your values in List Items by commas.

-> '''� Date Picker''' - You can use this for any date or text field: we aim to support timestamp fields
in a subsequent release. Clicking in the field will bring your users to a date picker to help them visually select a date.
to:
--> '''� Checkbox''' - This will show a single checkbox beside the field label (like "approved" in the screenshot at the top of this page. The value "true" will be set into whichever field you choose.

--> '''� Date''' - You can use this for any date or text field: we aim to support timestamp fields in a subsequent release. Clicking in the field will bring your users to a date picker to help them visually select a date.

-->
'''� Radio''' - Like "Class" in the screenshot above, you'll be able to select one of the values you enter in List Items (which makes up the value list for this field). Separate your values in List Items by commas.

--> '''� Select''' - This option presents
your List Items in a new drawer and lets you select one or more of them (multiple selection is an option for this format). The values you enter in List Items make up the pick list for this field: separate your values in List Items by commas.
Added lines 70-80:

Once you've described your fields in the script above, there is one more change you need to make to your file. As part of integrating DayBack with your file you aded a calculation field called "DBk_WebViewerSource" to each of your source tables.

You'll now edit that field for each source to which you added custom fields.

Find that field in your first source and edit it, scrolling down until you see the comment "Do not edit below this line unless adding additional fields". The last line in the List() section of that calc currently reads...

Quote ( Substitute ( sc_tags ; [ "�" ; "\n" ] ; [Char(10) ; "\n"] ; [Char(8232) ; "\n"] ; [Char(8233) ; "\n"] ) )
)

...copy that line and add a semicolon after it, then past the line back in replacing "sc_tags" with the name of your custom field. Be sure to add these in the order you've added them to the script in part 1. Here is how the List() secti
May 18, 2017, at 03:04 PM by 192.88.134.15 -
Changed line 7 from:
%newwin, width=500% [[https://www.seedcode.com/rootimages/stikipad/daybackonline/AdditionalFieldsSF.png | https://www.seedcode.com/rootimages/stikipad/daybackonline/AdditionalFieldsSF.png]]
to:
%newwin, width=500% [[https://www.seedcode.com/rootimages/stikipad/dayback/AdditionalFieldsSF.png | https://www.seedcode.com/rootimages/stikipad/dayback/AdditionalFieldsSF.png]]
May 18, 2017, at 03:02 PM by 192.88.134.15 -
May 18, 2017, at 03:02 PM by 192.88.134.15 -
Changed line 7 from:
%newwin, width=500% [[https://www.seedcode.com/rootimages/stikipad/daybackonline/AdditionalFieldsFMS.png | https://www.seedcode.com/rootimages/stikipad/daybackonline/AdditionalFieldsFMS.png]]
to:
%newwin, width=500% [[https://www.seedcode.com/rootimages/stikipad/daybackonline/AdditionalFieldsSF.png | https://www.seedcode.com/rootimages/stikipad/daybackonline/AdditionalFieldsSF.png]]
May 18, 2017, at 03:00 PM by 192.88.134.15 -
Changed lines 1-52 from:
Coming Soon!
to:
(:title Additional Fields: adding more fields to the popover in DayBack Calendar:)

!! Overview

In addition to the fields like Title, Description, Date, and Resource that DayBack provides, you can map additional fields so that users get a complete picture of  items on your calendar. This can be especially helpful if your object has required fields that need to be populated when an event is created.

%newwin, width=500% [[https://www.seedcode.com/rootimages/stikipad/daybackonline/AdditionalFieldsFMS.png | https://www.seedcode.com/rootimages/stikipad/daybackonline/AdditionalFieldsFMS.png]]

You'll be able to configure the formatting of your additional fields and even create value lists that can match the value lists you're using in FileMaker. You can create as many additional fields as you like and they'll appear, in the order created, in the "drawer" to the right of DayBack's popover under the heading "Additional Fields".

You can change "Additional Fields" to say something else in DayBack's  [[translation]] tab.

Setting up additional fields is done by editing the script the defines your sources and by editing the one of the calculation fields you added to your events table. Please make sure you've updated to [[version history | version 10.0]] which added support for additional fields.

!! Setting Up Additional Fields (Part 1): in scripts

Click "Administrator Settings" in DayBack's "Settings" tab and click "FileMaker Server" under Calendar Sources in the left hand sidebar. Select the source you want and scroll down past the "Field Mapping" section (where the Start and End fields are) until you see "Additional Fields". There you can click "Add New Additional Field" to add field to DayBack's popover.

%newwin, width=500% [[https://www.seedcode.com/rootimages/stikipad/daybackonline/FMSadditionalFieldsSetup.png | https://www.seedcode.com/rootimages/stikipad/daybackonline/FMSadditionalFieldsSetup.png]]

For each additional field there are three required values along with a few formatting options:

-> '''� Display As''': this is the field label that will show up above the field in DayBack's popover

-> '''� Format''': here you'll determine what the formatting options are (is it a date picker, or a currency field, for example). See "Formatting Options" below.

-> '''� Store in Field''': this is the FileMaker field that DayBack will read from and write to. Just enter the field name itself without the table occurrence.

!! Formatting Options

Here are the different field options along with any behaviors unique to then. We encourage you to play around and see which formats work best for you.

-> '''� Edit Box''' - This is an expandable text box that you can point at any text field.

-> '''� Number''' - A simple number field with lots of formatting options including leading and trailing labels (like "each" or "kg").  Under the hood only the numeric value of number and currency fields is sent to FileMaker: currency labels, etc. are not. If you choose to round a value by adding a number of decimal places, DayBack will round the value when displayed in the popover, but send the actual entered value to FileMaker. So if you set up your field to show two decimal places and enter 4.138, DayBack will show 4.14 but send 4.138 to FM.

-> '''� Currency''' - A special number field to which DayBack will add some default formatting. Feel free to change your currency symbol and alignment to suit your preferences.

-> '''� Percent''' - Like currency, this is a number field that DayBack pre-formats for you. Feel free to change the formatting.

-> '''� URL''' - A text box above which DayBack will render a "go" button so users can open the url by clicking on it. You don't have to enter the http or https prefixes if you don't want to.

-> '''� Checkbox''' - This will show a single checkbox beside the field label (like "approved" at the top of the screen. The value "true" will be set into whichever field you choose.

-> '''� Radio Button Set''' - Like "Class" in the screenshot above, you'll be able to select one of the values you enter in List Items (which makes up the value list for this field). Separate your values in List Items by commas.

-> '''� Picklist''' - This option presents your List Items in a new drawer and lets you select one or more of them (multiple selection is an option for this format). The values you enter in List Items make up the pick list for this field: separate your values in List Items by commas.

-> '''� Date Picker''' - You can use this for any date or text field: we aim to support timestamp fields in a subsequent release. Clicking in the field will bring your users to a date picker to help them visually select a date.

!! Setting Up Additional Fields (Part 2): in field definitions

May 17, 2017, at 08:46 PM by 192.88.134.15 -
Added line 1:
Coming Soon!
(855) SEEDCODE
[email protected]
Follow us: