Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

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