Default Number in Web Form

User 122792 Photo


Registered User
5 posts

I have a web form and it has a number field. I want a default number to be in the field when the user goes to the form.

I actually really want a number from the previous page.... but one step at a time.

I know I can put a placeholder...but that does not submit.

Which file do I have to edit ? and what do I put.

Here is the actual process I am trying to do.

I have a PHP web page. It comes up with a product and Price ... lets say $123.54

I don't have much access to that website so I am trying to get a form that uses Authorize.net which Web Form Builder does.

From that page... I want to click a button and it will submit the $123.54 as part of the post. And thus that will the total sent to Authorize.net.

I thought maybe .. if I hid the number field in the form and somehow got the $123.54 to be the default number.... By using PHP. Then I could submit to authorize.net.

Is this clear as mud.. to anyone.



User 187934 Photo


Senior Advisor
20,271 posts

In the form html use the value="$123.54" in the input.
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 122792 Photo


Registered User
5 posts

What file is that ?
I can't put that number in there....
I need to pull it from the page before..... which is also PHP....
As each time it will be different.
User 122792 Photo


Registered User
5 posts

The customer is on another page.. he choses items and then on this page there is a total .....

I want a button (or form) that basically takes that total and then logs into a webpage using that number.

I can do it by putting the URL in the button...

www.test.com/process.do?number=$123&amp … ssword=xyz

However .. I can't have customer see login and password... and the $123 has to be a variable from the page.

So I can use the Authoize.net integration on web form builder to hide the login and pW... but I still need a way to bring the number from the PHP /HTML page into the form so it can process... the number can be hidden...and should not be changeable....
User 187934 Photo


Senior Advisor
20,271 posts

Changing the rules on me.:lol:
Maybe this.:)
http://www.coffeecup.com/forums/web-for … rl-string/
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 122792 Photo


Registered User
5 posts

What file am I editing ?
User 187934 Photo


Senior Advisor
20,271 posts

Did you read those instructions?;)
"Place this code inside your form element input code."
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

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.