How to integrate calculations to my form. Add stock limit option.