Good Morning,
I've been trying to replicate Demonstration 20 on our website and I'm missing some key piece(s).
We have 5 text boxes Wheat, Seed, Corn, Feed and Beans. Each have the following code in the Client Side Event section of the Advance Field Option with their respective "Short Name" label
{
if(isNaN($(Wheat))){
$(Wheat) = '0';
}
$(GrandTotalHidden) = formatCurrency(eval(parseFloat($(Wheat)) + parseFloat($(Seed)) + parseFloat($(Corn)) + parseFloat($(Soy Beans)) + parseFloat($(Feed))))
I created a Hidden Grand Total labeled "GrandTotalHidden" as the Short name with the following code in it's Client Side Event:
$(GrandTotalHidden) = formatCurrency(eval(parseFloat($(Wheat)) + parseFloat($(Seed)) + parseFloat($(Corn)) + parseFloat($(Soy Beans)) + parseFloat($(Feed))))
For troubleshooting reasons I've unhidden the field and when I enter a value in any of the textboxes, I never get a value in my Grand Total field.
Can you point me in the right direction of what I need to update? Thanks for your assistance.
Lindsey