VSD V6 B3 - Form Builder T_String...

User 1910113 Photo


Trial User
2 posts

Hello, I've been really struggling trying to figure out what in the world is wrong with my PHP code.
I made a form with the Form Builder and imported it to my site on VSD but evertime I fill out the form and hit submit I recieve this error:

Parse error: syntax error, unexpected T_STRING in /home/seriesov/public_html/tuschay/order.php on line 436

this is the code on line 436:
$form_user_msg = CC_FB_AUTO_REPLY_POSITION == 'top' ?

I'm very new to PHP so I'm not sure how to fix it.
Everything on the site is working perfectly except for that. The submit button should send me an email with the info someone puts in the form and then it should redirect them to another site but all it does is give me that awful error.

VSD Version 6.0, Build 3
Form Builder Version 8.0, Build 196

Any help would be greatly appreciated.. thank you!
User 582635 Photo


Registered User
16 posts

I actually had the very same problem when I added a form to a VSD website.
After looking at the PHP file I found no syntax error. What I found out is that Form Builder did not like the fact I had used a prior form but saved under a new filename. Once I created the new form from scratch it worked fine.

User 355448 Photo


Ambassador
3,144 posts

sshrtone25,

You may want to post a link to the form. It may be possible that someone will be able to answer your problem without editing the PHP.

If the problem is with the PHP, and that is the PHP generated by the form builder, you may want to open a support ticket with CoffeeCup.

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.