PDA

View Full Version : Very very basic question


conmolbry
03-19-2009, 09:15 PM
How do I integrate the contact form solution pack into an existing site design? I don't have enough experience with forms and the support files haven't been terribly helpful to someone who needs step by step directions that a 6 year old could understand (to quote Denzel Washington from the movie Philadelphia). Please help.
Peter

conmolbry
03-20-2009, 01:09 PM
I'm really hoping for some help today if possible. I have an existing site design and page that I was hoping to just insert a contact form using the solution pack. But my ignorance is delaying any successful use of the solution pack. I just don't know the fundamentals and the user guide is not helpful at all to me at my level of un-sophistication here. I have a basic site I'm building with xhtml and css, not pure PhP. But I was hoping to use this php solution pack to insert a contact form in one of the pages. I'm assuming I can do that but don't know for sure. Just need help how to get started. Thanks to anyone from WA or others out there who might be able to assist.
Peter

Ray Borduin
03-20-2009, 01:48 PM
You can copy and paste the forms and data above and below the html into one of your pages. If you have dreamweaver you could just apply your existing design template.

conmolbry
03-20-2009, 02:26 PM
Thanks for your reply Ray. Sorry I'm really dense on this and the getting started guide is not helping me do that at all. Can you be a bit more specific about the starting point and subsequent steps? How do I create the form, then what pieces (folders/files) do I put into my website directory, and what do I copy and paste into my html file? I am using DW but not DW template.
Peter

Ray Borduin
03-20-2009, 03:17 PM
You need all of the files.. so copy them all to your site.

Then open the contact form page and in code view, cut out the body of the page and paste and save it into a .txt file.

Then copy and paste the body of the page you already have the look and feel you want. Then go back to your .txt file and paste in the form contents.

conmolbry
03-20-2009, 04:10 PM
Ray I'm much closer than I was. Still got some work to do. Please hang in there with me. I've attached a screen shot of what the page now looks like. Does this look right in terms of the formatting of the boxes. Also note the script inside the boxes. Thoughts?

conmolbry
03-20-2009, 10:42 PM
I uploaded the files to my web server and it appears to look just fine. The only couple glitches remaining are these. First, the boxes on the page are quite small and text entered does not wrap. Is there some way to make at least the comment box bigger (it is very small right now) and turn on line wrapping?

Secondly, in testing the form and submitting, I received no validation of the submittal either in the form of a thank you screen or receiving the email with the message. Can you give me some ideas how to solve?

Thanks for your patience!
Peter

conmolbry
03-21-2009, 08:55 PM
I'm really kind of frustrated with the support coming in spurts here. Has WA taken the weekend off?? The poor response here wouldn't bother me quite as much if the product documentation were as helpful as it should be. It's not, at least not for my level of expertise which is admittedly on the low end of experience. That's why I had hoped a so-called "solution" pack like this would in fact provide a solution for me without much hassle. That's not the case, either. Sorry for the slam, but I wouldn't do it if I weren't really quite upset here. I'm still lingering out here if anyone has a mind to help in the near future.

conmolbry
03-22-2009, 12:25 AM
After considerable effort, I have worked my way through the problems I had so please don't spend time on this. Except I do still wonder if there is any way to change the size of the form field boxes. I also believe for a solution pack, the documentation is wholly inadequate and I'm not pleased that WA continues to put out good products whose user guides leave much to be desired in quality of instruction. Just my 2 cents.
Peter

Ray Borduin
03-23-2009, 07:37 AM
You can change the size of the form field boxes directly in CSS or in the form fields themselves with standard html.

conmolbry
03-23-2009, 02:03 PM
Ray thank you for your help. I should apologize for letting my frustrations bubble to the service so overtly over the weekend. WA has made important improvements in the support files associated with your products and I hope this continues.

I do have one final question and I'll then leave you be. The form generated has both the catpcha security code and a separate security question. Is it possible to make one of those optional, that is someone could complete the question box without doing the captcha one and still successfully submit. I'd like to leave both security items on the page but not necessarily have to complete both to be able to submit the form.

Ray Borduin
03-23-2009, 03:25 PM
That is not possible without some hand edits to the code. It could be done by adding an IF statment around the server validation that would not add the validation if either passed but you would have to know php to do it effectively.

Neil Beadle
03-23-2009, 04:46 PM
For more assistance with styling forms we have a couple different documents you may want to take a look at:

Styling Forms with CSS Roadmap - http://www.webassist.com/training/roadmaps/
Applying CSS styles to form elements with Validation Toolkit How To - http://www.webassist.com/support/validation-toolkit/

Obviously, the latter refers to Validation Toolkit but there is some useful information there.

conmolbry
03-24-2009, 10:01 AM
Thank you. I find it particularly helpful when I get connections made across WA products and support items!

joel375570
04-05-2009, 06:48 PM
I followed the pdf instructions and changed the WA globals php file...

Is there a basic tutorial that shows how and which files to upload to site...
I opened each folder and uploaded each doc...

When I try to link to the page i get the following error


Warning: require_once(WA_Globals/WA_Globals.php) [function.require-once]: failed to open stream: No such file or directory in /data/18/1/151/139/1803954/user/1953472/htdocs/contact_styled.php on line 1

Fatal error: require_once() [function.require]: Failed opening required 'WA_Globals/WA_Globals.php' (include_path='.:/usr/services/vux/lib/php') in /data/18/1/151/139/1803954/user/1953472/htdocs/contact_styled.php on line 1

Ray Borduin
04-06-2009, 10:46 AM
This error means that you didn't upload the WA_Globals file to the correct location. If you look at contact_styled on line 1 as the error implies, you will see the reference to the globals file... that reference is not correct.

Peaces
06-02-2009, 07:23 AM
Ray,
Thanks for all the help. I am using the 4images gallery for photographs. In their tutorials and directions for adding a page to the template the page is .html.

When I follow your instructions to add the contact form into the new page, I assume the end result is a page that is .php. Correct?

Any suggestions as to how I can make the contact form work in a .html page? Or, is that not possible?

Ray Borduin
06-02-2009, 10:43 AM
Not really possible to do it on anything but a .php page since it includes server validation.