Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

vbscript syntax

  • 20-03-2003 04:35PM
    #1
    Closed Accounts Posts: 41


    This probably seems very basic but i cant find it anywhere.
    I want to modify this bit of script in an asp file to make a hidden textbox with a predefined value ie "NA"

    <%textbox "state",pState,20, "textbox"%>

    Any help would be great


Comments

  • Closed Accounts Posts: 9,314 ✭✭✭Talliesin


    You'll need to post the sub that calls as well.


  • Registered Users, Registered Users 2 Posts: 629 ✭✭✭str8_away


    If you want to create a hidden input box on you web page, all you need to do is use "response.write" to write out html code.

    ie
    <% response.write "<input type=""hidden"" name=""something"" value=""NA"">" %>
    OR
    <% response.write "<input type='hidden' name='something' value='NA'>" %>

    for this input box to mean anything you will nee to have <form> on your page too.


  • Closed Accounts Posts: 41 writeaccess


    Thanks A million That works fine.


Advertisement