Alpha Video Training
Results 1 to 3 of 3

Thread: Placing the degree symbol in a field mask

  1. #1
    Member
    Real Name
    Ivan Dammash
    Join Date
    Sep 2018
    Location
    Queensland Australia
    Posts
    2

    Default Placing the degree symbol in a field mask

    Is there any way I can place the degree symbol in a field mask, I have tried using the \ before the character map for the degree symbol and it seems to reject it.
    Last edited by IvanDa; 04-06-2019 at 05:12 AM.

  2. #2
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    7,491

    Default Re: Placing the

    You could use the Conditional option in the Mask Builder. It wants a Javascript function name... e.g. showDegree.
    The option "Show the mask characters while entering the field" must be checked.
    The showDegree Javascript function could be...

    Code:
    function showDegree(e) {
    
    	return '####' + String.fromCharCode(176);
    
    }
    This might get you a bit closer to what you want.

  3. #3
    Member
    Real Name
    Ivan Dammash
    Join Date
    Sep 2018
    Location
    Queensland Australia
    Posts
    2

    Default Re: Placing the

    Thanks David, I decided to go in another direction and use "Dec" as it refers to declination rather then degree. Thanks again.
    IvanDa.

Similar Threads

  1. Character field and the & symbol
    By Ronald Anusiewicz in forum Mobile & Browser Applications
    Replies: 13
    Last Post: 07-16-2016, 09:56 AM
  2. Placing a Calculated Field Result in Another Field
    By draxx in forum Alpha Five Version 5
    Replies: 31
    Last Post: 02-22-2013, 09:59 PM
  3. Grid will not open after placing new field.
    By RogerL76 in forum Application Server Version 10 - Web/Browser Applications
    Replies: 6
    Last Post: 05-26-2011, 07:18 PM
  4. Overriding Grid Column style / 90-degree text
    By christappan in forum Application Server Version 10 - Web/Browser Applications
    Replies: 1
    Last Post: 02-26-2011, 09:23 AM
  5. Placing the value of a variable into a table field
    By Tedd in forum Alpha Five Version 9 - Desktop Applications
    Replies: 3
    Last Post: 01-19-2010, 08:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •