Adding a percentage to the Form...

User 38401 Photo


Senior Advisor
10,951 posts

nah you're right Eric, wasn't thinking per order/item when I typed that.
User 187934 Photo


Senior Advisor
20,190 posts
Online Now

Does this look correct?:)
http://ericrohloff.com/coffeecup/ccforu … uspercent/
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2196221 Photo


Registered User
15 posts

That loooks good to me - could the first field just be an input field that the person filling in the form enters an amount?
It does work anyway if an amount is input - just get the message to say it should be a number, I'm sure I could 'tweak' it a bit.
Thanks, Eric, for the time in answering my question - any chance of receiving the file?
:)
User 187934 Photo


Senior Advisor
20,190 posts
Online Now

I just uploaded the form with the instructions. If you need help tweaking to your needs post back. This is why I really like to see what form the user has because it keeps the confusion to a minimum.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2196221 Photo


Registered User
15 posts

Many thanks on behalf of Aberglaslyn Mountain Rescue Team
North Wales, UK
User 460613 Photo


Registered User
33 posts

Hmmm - Eric, what do you mean by add an HTML Element?

BTW - this is very cool....


Below is the code from my web preview.

The form is at: http://www.stevemodonnell.com/pay.html



<!DOCTYPE HTML>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="common/js/form_init.js" id="form_init_script"
data-name="">
</script>
<link rel="stylesheet" type="text/css" href="theme/default/css/default.css"
id="theme" />
<title>
payment
</title>
</head>

<body><style>#docContainer .fb_cond_applied{ display:none; }</style><noscript><style>#docContainer .fb_cond_applied{ display:inline-block; }</style></noscript><form class="fb-toplabel fb-100-item-column selected-object" id="docContainer"
action="" enctype="multipart/form-data" method="POST" novalidate="novalidate"
data-form="preview">
<div class="fb-form-header" id="fb-form-header1" style="min-height: 20px;">
<a class="fb-link-logo" id="fb-link-logo1" style="max-width: 104px;" href=""
target="_blank"><img title="Alternative text" class="fb-logo" id="fb-logo1" style="width: 100%; display: none;" alt="Alternative text" src="common/images/image_default.png"/></a>
</div>
<div class="section" id="section1">
<div class="column ui-sortable" id="column1">
<div class="fb-item fb-66-item-column" id="item1">
<div class="fb-grouplabel">
<label id="item1_label_0" style="display: inline;">Name:</label>
</div>
<div class="fb-input-box">
<input name="name" id="item1_text_1" type="text" maxlength="254" placeholder=""
data-hint="" autocomplete="off" />
</div>
</div>
<div class="fb-item fb-20-item-column" id="item2">
<div class="fb-grouplabel">
<label id="item2_label_0" style="display: inline;">Account No.</label>
</div>
<div class="fb-input-box">
<input name="Account" id="item2_text_1" type="text" maxlength="254" placeholder=""
data-hint="" autocomplete="off" />
</div>
</div>
<div class="fb-item fb-100-item-column" id="item3">
<div class="fb-grouplabel">
<label id="item3_label_0" style="display: inline;">Payment</label>
</div>
<div class="fb-input-number">
<input name="amount" id="item3_number_1" type="number" min="0" max="999999999"
step="0.01" data-hint="" autocomplete="off" />
</div>
</div>
</div>
</div>
<div class="fb-captcha fb-item-alignment-center" id="fb-captcha_control"
style="display: none; cursor: default;">
<img src="editordata/images/recaptchawhite.png" />
</div>
<div class="fb-item-alignment-left fb-footer" id="fb-submit-button-div"
style="min-height: 1px;">
<input class="fb-button-special" id="fb-submit-button" style="background-image: url('theme/default/images/btn_submit.png');"
type="submit" data-regular="url('file:///C:/Users/Tim/AppData/Local/Temp/FormBuilder/theme/default/images/btn_submit.png')"
value="Submit" />
</div>
</form>
</body>
</html>
User 187934 Photo


Senior Advisor
20,190 posts
Online Now

Select a html element in the form builder and place it on your page.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 460613 Photo


Registered User
33 posts

Help!!

Ugh - Eric. I had this working the other day, I went to modify some info and something messed up.

Mentally - I see the error but I'm not sure what I am doing wrong.

http://www.stevemodonnell.com/pay.html

When I add the info - it sees field 2 as a quantity and multiplies it to create a total. Could you try entering $ 100.00
User 187934 Photo


Senior Advisor
20,190 posts
Online Now

What is the calculation your trying to preform?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 460613 Photo


Registered User
33 posts

Pretty much the same thing you were doing with Phil.

Add a handling fee to the amount entered. I can't figure out why when I go to the check out, it sees the calculated total but then multiplies that back as a quantity.


THanks...TIm

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.