close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

comments field & font size

Thread began 6/22/2012 3:11 pm by barkmail | Last modified 7/09/2012 1:05 pm by Jason Byrnes | 1075 views | 13 replies |

barkmail

comments field & font size

1. Added a text area form into the checkout.php page so my customers can write out any special instructions.
- How do I get this information to pass onto the confirm.php page
-and then pass to Paypal so that I can receive that information in my Paypal payment notification?

2. How can I increase the size of the font within the text fields for the customer to input their info within the checkout.php page?
I have increased the sizing of the field fonts, but can't figure the input font sizing - they are VERY small.

thank you

Sign in to reply to this post

Jason ByrnesWebAssist

what paypal system are you using? PayPal Payments Pro or standard?

See the "Styling Forms with CSS" article on the Road Maps page:
roadmaps/

Sign in to reply to this post

barkmail

Paypal Standard.

Changed the font characteristics - thank you for pointing me to those instructions.

Sign in to reply to this post

Jason ByrnesWebAssist

on the confirm page, there is a collection of hidden elements that passes the cart information to paypal, add 2 new hidden elements:

the first will set the name of the option being passed as Special Instructions:

php:
<input type="hidden" name="on0" id="on0" value="Special Instructions" />



the second is to capture the value form the checkout page:

php:
<input type="hidden" name="os0" id="os0" value="<?php echo((isset($_POST["instructions"]))?$_POST["instructions"]:""?>" />



this example assumes the text area is named "instructions"

Sign in to reply to this post

barkmail

thank you

How do I get the information from the checkout page to the confirm page?

Sign in to reply to this post

Jason ByrnesWebAssist

that what the value of the hidden element is for. assuming the name of the tex field is "instructions" this code will capture the value from the checkout page:

php:
<input type="hidden" name="os0" id="os0" value="<?php echo((isset($_POST["instructions"]))?$_POST["instructions"]:""?>" />
Sign in to reply to this post

barkmail

I am trying to put the comments/special instructions form on the confirm page rather than the checkout page since this seems like it would be easier for all. So for now...table my last question as to how to transfer the info from the checkout to the confirm page.

I have put this field at the end of the confirm page. Does this impact where I place the code lines to transfer this info to Paypal?

for some odd reason the
modify information button
& submit button
have both become very large....
how can I get them back to normal?

Sign in to reply to this post

barkmail

OK.

Took the text area for special instructions off the confirm page and am keeping it on the checkout page.

It seems I've goofed up my button assets because they are all stretched.... help.

Sign in to reply to this post

barkmail

OK again...ignore my last couple of posted replies.
I deleted the confirm and checkout pages and rebuilt them. All is fine now.

Now back to communicating the new "special instructions" field within my checkout page to Paypal...
I put the code into the program right after the existing two codes to transfer style and engraving information (which both of those work).
Did a test and did not see anything pass to Paypal (nor onto the confirmation page - which I'm not sure I would see it there or not?).

Am I putting the code in correctly - wrong area - wrong something?
Instead of naming it os0, should I name it os2 (since I already have an os0 and os1)?

thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

If you already have os0 and os1, the yes, they should be named on2 and os2.

the new form elements should be inside the form tags.

send a link where i can see the problem to get a better idea of the cause.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...