Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • AmandaEly 123 posts 379 karma points
    Nov 04, 2015 @ 12:41
    AmandaEly
    0

    Automatically calculate property value on certain doctypes

    Hi,

    I have a doctype, Raceresult, which has a number of properties. I need to restrict the user adding new instances to only fill in three of the fields. The rest of the values would then be calculated based on data given. For example, age on race day would be calculated based on the date of the parent race and the runner's birthdate. Just as the age graded percentage would be calculated based on calculated age and a table of values. I can achieve this easily (I think) if I add an Admin section on the front end but I find this less than ideal.

    1) It means I effectively have two back ends for the website 2) For all I know, the SaveWithStatus may not work perfectly and the customer will have to go via the backend to republish

    So how do I create a very restricted type of dashboard for this doctype?

Please Sign in or register to post replies

Write your reply to:

Draft