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 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    PHP (Text Changer?)

    I want to have a form drop-down field where there will be 2 options (first one default, and second one, if its selected, it will change the text in that area (and change it back if the default one is selected again): eg

    [Form Dropdown]

    [Changeable Wall Text]

    So basically, just changing text from one to another with the use of a drop down form field. I know this is possible, but I'm not sure how to do it. Any help will be greatly appreciated!

  • #2
    m1l
    m1l is offline
    New to the CF scene
    Join Date
    Aug 2011
    Posts
    8
    Thanks
    0
    Thanked 1 Time in 1 Post
    This isn't PHP and would be better posted in the Javascript forum, although I'm sure it wouldn't take a lot of searching on Google to find a solution.

  • #3
    New to the CF scene
    Join Date
    Aug 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The site that I am working with is in PHP.

    Is there a way to say ... click on a link, and then it switches the include file to something else?

    Like say ...
    on click change
    <?php include("information.php"); ?> to
    <?php include("rules.php"); ?>

    so it changes from one file to another. So in essence, changing the displayed text to something else.

    If I can get that, I can work on the rest on my own as far as a dropdown that I originally said.


  •  

    Posting Permissions

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