Announcement

Collapse
No announcement yet.

The annoying " < "

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • The annoying " < "

    i have followed the form instructions exactly and i'm still gettin the annoying " < " on the page. i can't cover it up with a square or anythying, it sits at the top of the actual page.

    i'm not sure where to go with this. i have followed this exactly.

    If you have a <, you have copied invalid code into the HTML box. Looking at your code it contains several errors, so please follow these instructions carefully and ignore any other versions of this script on the forum;)
    Anyway here's the correct code and implementation one more time:
    1. Create a new page with BlueVoda (let's say feedbackform.bvp)
    2. Drag the Form object to the page and a draw a box to indicate the position of the form.
    3. Design your form by adding some Form controls to the form:
    Buttons, Image Buttons, Advanced Buttons, Checkboxes, Radio buttons, Editboxes, Text Areas and Comboboxes.
    You can also make text and images part of the form.
    Notice that all objects become a part of the form, so when you change the position of the form all those objects move along.
    4. Make sure your form contains a Submit button. Without this button the user will not be able to submit the entered data.
    5. Once you have designed your form, you may need to set some properties. Select the form and choose Edit|Properties from the BlueVoda menu.
    The most important thing you need to do is specify the form action.
    In this case we are going to use a second (PHP) page to process the results of the form and this will be the confirmation page at the same time.
    So set the action property to feedback.php
    and remove any text from the encoding type property.
    6. Publish the feedbackform.bvp page to your VodaHost account.
    7. Now let's create the confirmation page using BlueVoda:
    8. Create a new page with BlueVoda and save is as 'feedback.bvp'.
    9. Select View->Page HTML from the menu
    10. Select the Inside Body tag and enter this code:
    <?PHP
    $email = $HTTP_POST_VARS[email];
    $mailto = "feedback@yourdomain.com";
    $mailsubj = "Feedback form";
    $mailhead = "From: $email\n";
    reset ($HTTP_POST_VARS);
    $mailbody = "Values submitted from web site form:\n";
    while (list ($key, $val) = each ($HTTP_POST_VARS))
    {
    $mailbody .= "$key : $val\n";
    }
    mail($mailto, $mailsubj, $mailbody, $mailhead);
    ?>
    11. Do the usual page formatting with BlueVoda, for example add a textbox with the text "Thanks for your feedback, your comments have been processed!"
    12. Select View->Page Properties from the menu
    13. Set the file extension to php
    14. Publish the page feedback.bvp to your VodaHost account.
    Now you have two pages:
    1) a page with the feedback form
    2) a page that processes the input and displays a confirmation message.
    Notes:
    - Instead of feedback you can give it any name you like.
    - The blue text in the code above can be changed to anything you like, but be sure you keep the double quotes.

  • #2
    ok disregard. it was coding with something i tried to put in so the user would have a 'required' field in the form to fill out. didn't work. removed it and the < went away.

    Comment

    Working...
    X