Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2003
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    JavaScript form inside a regular form, how?

    Hey guys,

    I like the script found at http://wsabstract.com/script/script2/timestamp.shtml

    But I want to have this as just one field of many in my larger form. How do I do this?

    That link talks about something like this on the bottom of that page, but I still don't understand. Please help.

    Thanks,
    Shayne

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Beyond Lament
    Posts
    424
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Maybe you'd have to change each link and match the names of the INPUTs to the ones on the link:


    <input type="Text" name="timestamp" value="">
    <a href="javascript:show_calendar('document.tstest.timestamp', document.tstest.timestamp.value);">

    <input type="Text" name="timestamp2" value="">
    <a href="javascript:show_calendar('document.tstest.timestamp2', document.tstest.timestamp.value);">

    <input type="Text" name="timestamp3" value="">
    <a href="javascript:show_calendar('document.tstest.timestamp3', document.tstest.timestamp.value);">
    Quíet Storm Designs ~ Art is not what you see, but what you make others see.
    · the Storms· || ·Ultraviolent Winter· || ·Was Einstein Wrong?· || ·It´s About Time!·


  •  

    Posting Permissions

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