Results 1 to 10 of 10

Thread: Can someone please guide me re. javascript?
      
   

  1. #1
    pulsoft is offline Members
    Join Date
    Jun 2005
    Posts
    10

    Can someone please guide me re. javascript?

    Hi,

    I am trying to use a field to record a date on a form and if possible I want to use a calendar picklist. I have found a free script that suggests this should be possible. see: http://www.dynamicdrive.com/dynamici...opcalendar.htm

    It seems to do this I need to introduce some javascript into my webpage\formfield. Unfortunately, the BV videos only touch on this subject by indicating that it can be done (no practical examples).

    I am not a technical developer which is why I was attracted to using BV and hosting with VodaHost. However, I am willing to learn, if someone can point me in the right direction or make available for me a BVP example that I can pick to pieces to see how it is done.

    Any offers?

    Thanks.

    Paul (pulsoft)
    Last edited by VodaHost; 06-14-2005 at 02:45 PM.

  2. #2
    pony is offline Members
    Join Date
    Jun 2005
    Location
    Aliso Viejo, CA
    Posts
    47

    Default here ya go...

    Hi Paul, I am a beginner as well but I have used a few of the scripts and they came out good. What you do is paste the script in its entirety into HTML on the page you want the object to appear (like the calender). To do this, Right click on the page, go to HTML. Now make sure you've put it in the right section - meaning "Head" or "Body". Look for this direction on that website.
    After you've put the code in, save and re-publish your page.

    Something else - you may need to change a few things on your code to make it your own- look for these intructions on the website you've gotten it from.

  3. #3
    pulsoft is offline Members
    Join Date
    Jun 2005
    Posts
    10

    Default

    Thanks pony. I have already tried this but I will try again.

    It is not so much placing the script in the HTML as trying to control where the calendar control will appear and in which form field. How do I do this?

  4. #4
    Maddog's Avatar
    Maddog is offline Lieutenant Colonel
    Join Date
    May 2005
    Location
    UK
    Posts
    514

    Default

    Hi, do I under stand you want a form to emails back etc with a auto data using the script above yes?

    then you need to edit the pupdate.js so if appears in you form box.

    or are you having problems getting the script to work?

    Update to BV 6. its now a lot easier to add html into the right place.
    www.bluevodaexchangelink.com
    BluevodaExchangeLink Help Center
    Bluevodaexchangelink Forum

    The only place for bluevoda site to be linked with!

  5. #5
    Maddog's Avatar
    Maddog is offline Lieutenant Colonel
    Join Date
    May 2005
    Location
    UK
    Posts
    514

    Default

    ps, if you not sure how to edit the pupdate.js buzz here
    www.bluevodaexchangelink.com
    BluevodaExchangeLink Help Center
    Bluevodaexchangelink Forum

    The only place for bluevoda site to be linked with!

  6. #6
    pulsoft is offline Members
    Join Date
    Jun 2005
    Posts
    10

    Default

    Thanks for your replies Maddog. I am not sure where to place scripts.
    I am also not sure if I need a field on my form which I have to associate in some way with the script or whether the script allocates a field for the date. If the script allocates a field - how do I then ensure that the field is located in the correct place on my form. etc. etc.

    Paul

  7. #7
    Maddog's Avatar
    Maddog is offline Lieutenant Colonel
    Join Date
    May 2005
    Location
    UK
    Posts
    514

    Default will try

    Quote Originally Posted by pulsoft
    Thanks for your replies Maddog. I am not sure where to place scripts.
    I am also not sure if I need a field on my form which I have to associate in some way with the script or whether the script allocates a field for the date. If the script allocates a field - how do I then ensure that the field is located in the correct place on my form. etc. etc.

    Paul
    Hi Mate,

    I will try and help you!

    Download the zip file, containing "pupdate.js" file into your PC, remember where you save it!!!

    then upload to your public folder, use the FPT

    Add the code to the HEAD section of your webpage, right click on you page, click page HTML, got head and paste.

    now this is the hard bit not sure if it will work

    goto step 3 and paste into the form boby html(same as above, but click the form)


    Make sure you change the http to where the pupdate.js is in your pubic directy i.e. http://yoursitename/pupdate.js

    that should work, not 100% sure
    www.bluevodaexchangelink.com
    BluevodaExchangeLink Help Center
    Bluevodaexchangelink Forum

    The only place for bluevoda site to be linked with!

  8. #8
    pulsoft is offline Members
    Join Date
    Jun 2005
    Posts
    10

    Default

    Thanks Maddog,

    I'll give it a try and let you know how I get on.

    Paul

  9. #9
    pulsoft is offline Members
    Join Date
    Jun 2005
    Posts
    10

    Default Success

    Thanks Maddog,

    After you pointed me in the general direction, I was able to work out what was wrong with my previous attempts. I used a different JS routine in the end which just required an entry in the header, a js file and associated graphics files in the location where the web page resides and a javascript container on my form in the location I wanted the date field to appear. The script in the container was a simple one liner which contained the name of the field I wanted to record the date in.

    Now all I need to do is work out how to order the fields on my form in a sequential sequence. At the moment when I tab between the fields they sequence randomly. I suspect I must have copied fields and moved them around without realising the consequences.

    The final thing I will need to do is understand the PHP script for the submit button. That should be fun!

    I LOVE THIS PRODUCT..............

    Thanks again.

    Paul

  10. #10
    Maddog's Avatar
    Maddog is offline Lieutenant Colonel
    Join Date
    May 2005
    Location
    UK
    Posts
    514

    Default

    You worked out the hard bit Paul, wtg!

    Use the FEEDBACK.php you will find a copy of here, just do search.

    Have fun
    www.bluevodaexchangelink.com
    BluevodaExchangeLink Help Center
    Bluevodaexchangelink Forum

    The only place for bluevoda site to be linked with!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Google Guide
    By VodaBot in forum Google, Yahoo & Bing
    Replies: 26
    Last Post: 03-02-2010, 03:17 PM
  2. A Basic Guide to Customising OScommerce
    By paulb in forum Scripts & Fantastico
    Replies: 10
    Last Post: 01-23-2009, 10:40 PM
  3. please guide me !
    By solar in forum Customer Website Reviews - Your Testing Ground
    Replies: 2
    Last Post: 10-28-2005, 10:50 AM
  4. Javascript
    By spac in forum General Support Issues
    Replies: 4
    Last Post: 08-01-2005, 07:56 AM
  5. quick guide
    By vinny1957 in forum Wish List & Idea Bin
    Replies: 1
    Last Post: 06-07-2005, 09:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49