Results 1 to 5 of 5

Thread: Relate custom fields automatically calculate values

  1. #1
    airjav is offline Junior Member
    Join Date
    Apr 2007
    Posts
    3

    Default Relate custom fields automatically calculate values

    Hi guys,

    I need to create 3 custom decimal field.

    eg.

    the first field name 'A', second field 'B' and the 3rd field will get both the inputted values of A and B and then add them together - this will be the value of 'C'. Is it possible to do it in studio? or i need to write my whole script?


    thanks in advance guys!

  2. #2
    paikmoses's Avatar
    paikmoses is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    541

    Default Re: Relate custom fields automatically calculate values

    Hi airjav,

    This is something that you want to make changes/enhancements at the functionality level. For this you will have to write the script to calculate the values of A and B to show it in C.

    At the UI level you can use Studio to create the custom fields but you may require to write the script for the calculation.

    HTH.

    Regards,

  3. #3
    airjav is offline Junior Member
    Join Date
    Apr 2007
    Posts
    3

    Default Re: Relate custom fields automatically calculate values

    Quote Originally Posted by paikmoses
    Hi airjav,

    This is something that you want to make changes/enhancements at the functionality level. For this you will have to write the script to calculate the values of A and B to show it in C.

    At the UI level you can use Studio to create the custom fields but you may require to write the script for the calculation.

    HTH.

    Regards,

    Hi paikmoses, what kind of scripts am i suppose to write? any examples?


    sorry
    regards =)

  4. #4
    paikmoses's Avatar
    paikmoses is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    541

    Default Re: Relate custom fields automatically calculate values

    You may require to write the server script i.e. php

    Regards,

  5. #5
    airjav is offline Junior Member
    Join Date
    Apr 2007
    Posts
    3

    Default Re: Relate custom fields automatically calculate values

    anyone can share some insight on how to script this? or which file should i edit to accomplish this requirement



    sorry man, i am a noob in web programming


    thanks!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 2006-12-20, 11:39 PM
  2. Replies: 0
    Last Post: 2006-09-13, 06:57 PM
  3. Asterisk Patch 1.1.0 Crash on logon
    By skyracer in forum Help
    Replies: 6
    Last Post: 2006-07-08, 06:30 AM
  4. Replies: 7
    Last Post: 2006-06-06, 07:56 PM
  5. Replies: 2
    Last Post: 2005-09-27, 08:43 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
  •