Can't Get Sum of Textbox Custom Field Type

  • zoomlanski
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
14 years 1 month ago #6109 by zoomlanski
Can't Get Sum of Textbox Custom Field Type was created by zoomlanski
Can I open a ticket for assistance?

I can't get the sum of the fields in a fee field registration

test.paramediccompetition.ca/register/lunch

Thank you
TIm

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #6122 by oogled
I had the same issue while setting this up. A few things you should check. Under Fee formula do you have [FORM_AMOUNT]*[FIELD_VALUE]?

If you do and its still not working, have you changed the Fee Field option from No to Yes to see if that works?

Please Log in or Create an account to join the conversation.

  • zoomlanski
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
14 years 1 month ago #6130 by zoomlanski
Replied by zoomlanski on topic Re: Can't Get Sum of Textbox Custom Field Type
Sorry Ooogled but those were my settings and it didn`t work.

I`m attaching a screen shot of my page.
Attachments:

Please Log in or Create an account to join the conversation.

  • zoomlanski
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
14 years 1 month ago #6142 by zoomlanski
Replied by zoomlanski on topic Re: Can't Get Sum of Textbox Custom Field Type
Help? Anyone?

This is the only thing holding my site up from going "live".

Thanks
Tim

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #6161 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Can't Get Sum of Textbox Custom Field Type
Hi Tim

I have been very busy today to finish a new feature of the extension. Will have a look at the issue/setting on tomorrow and I will let you know .

Thanks,

Tuan

Please Log in or Create an account to join the conversation.

  • zoomlanski
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
14 years 1 month ago #6190 by zoomlanski
Replied by zoomlanski on topic Re: Can't Get Sum of Textbox Custom Field Type
Hey Guys

I keep looking at the screenshot instruction - joomdonation.com/images/screen/quanlity.png

And I can't help but notice it keeps saying Datatype Validation - Number

I don't have that field in my custom field. It's not visible or an option

Is this my problem? That it doesn't recognize the value as a number?

I tried to find the file that does the calculations, but can't locate it.

Thanks
Tim

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #6200 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Can't Get Sum of Textbox Custom Field Type
Hi Tim

I am sorry for the mistake in tutorial document. The [FORM_AMOUNT] tag is not available in Event Booking (I wrote that in my tutorial, my mistake, sorry) .

Could you explain what you want to setup here so that I can guide you ?

I will reply you as soon as I receive your response .

Thanks,

Tuan

Please Log in or Create an account to join the conversation.

  • zoomlanski
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
14 years 1 month ago #6201 by zoomlanski
Replied by zoomlanski on topic Re: Can't Get Sum of Textbox Custom Field Type
Exactly like the Tutorial, I simple multiplication.

Users will select how many lunches they want and the price of the lunch with a total sum processed by paypal and offline.

[Total Lunches Selection] * [Cost of Lunch] = Total on Registration Checkout

Thank you,
5 Stars for Support.
Tim

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #6205 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Can't Get Sum of Textbox Custom Field Type
Hi Tim

Is Total Lunches Selection a textbox custom fields ? If so, you just need to do the following :

1. Set the Fee Field property to Yes .

2. In the formular, enter [FIELD_VALUE]*10, 10 is the cost of lunch .

Hope this help !

Tuan

Please Log in or Create an account to join the conversation.

  • zoomlanski
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
14 years 1 month ago #6207 by zoomlanski
Replied by zoomlanski on topic (SOLVED) Re: Can't Get Sum of Textbox
You the man!

Thank you

My solution was - [FIELD_VALUE]*10
fee field - yes

I should have picked up on that. Sometimes the most obvious solutions are simple.

Tim

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc