i let the user go and submit his phone number in a particular page. on the other side on access i adjusted my input mask of that particular field to the following set (999) 000-0000;0;-
or (&&&) &&&-&&&&;&;- or (@@@) @@@-@@@@;@;-
when i open the database i see the phone numbers are stored in the fine format which i wanted, however when i try to retrieve the data using the browser, i just gets me the phone number like 29384838283 without any brackets or spaces.
Is there a script that I can put in my coding of my Homepage.asp that when a student enters a password instead of it being shown (i.e. 6754345) it will be shown as (i.e. *******)
I have a little code to add multiple items to a shopping cart based page. This code works perfect, but it adds all of the info to the same input fields every time it loops. I need it to change the input names each time it loops. Here is the code:
I have being working with making an edit field over the past few days. The edit function is now working fine. The edit fields that i have are for id, subject, notes, timedate.
All of the edit screens are one line text screens. What I want to do now is increase the size of the notes box to a larger textarea type box to make it easier to edit notes. The notes field in the db is a textarea field. Code:
I have an input box that sends data over to the next page. This input box was in a loop, there creating data looking like this: 2, 0, 0, 3, 0, 4, 0, 22, 0, 0, 0
How do i break the data up in such a way that i can populate it into my db while running through a recordset?
i create a dynamic table to modify user/account for administrative management. I have modify & delete function to be performed.
The idea is that when the admin click the Delete link, he can delete a particular account/user. is it possible to pass variable of buff value to recID??
because when i see the result of request.querystring("recID"), i does not pass the mumerical value sound pretty simple but i can't get it. Code:
I am looking for something similar to "preg_match" and "preg_match_all" in PHP.
I have searched the forum with no luck. I hope you are able to give me some pointers
Basically I want to match some text from a form and loaded it into new variables making use of regular expressions. the text comes form a textarea input type. Code:
I have a bummer here. I have 3 sub R. that I need to call from a input button. I set up the following line, but the script just calls them with out having the button pressed. OOOO! Any ideas?
Is there any way to clean the user input before saving to the database.I tried to use..
Function StripNonNum(strInput) Dim regEx Set regEx = New RegExp regEx.Pattern ="^[w-.]{1,}@([da-zA-Z-]{1,}.){1,}[da-zA-Z-]{2,3}$" regEx.IgnoreCase = True regEx.Global = True StripNonNum = regEx.Replace(strInput, "") End Function
But It doesn't work when user cut&paste the information to screen.For eg.Cut&Paste from a CV which contains Bullet points is there any way to remove these bullet Points before data saving..
Code: <input type="radio" name="dewey_loc" value="dewey" onClick="toggledewey()" checked>Dewey Can't seem to work out how to call an ASP/VBSCRIPT function from within html, is this able to be done? Can call JS without issue, but need to change a Session variable when this radio button is clicked.
I have found that places double quotes ' "text" ' around text inside (INPUT) tags results in everything after the initial quote, '"' gets truncated. I'm passing the form information to another form to allow the user to look over and validate what they're submitting, then they will click the submit button to send it all along. I'm finding that in the validation form, the quoted text inside the (INPUT) tag gets truncated. However, the quoted text inside a TEXTAREA tag does not.
I'm using the following code and if someone enters something in the "instructions" field with characters -"', - it causes the SQL statement to change using those characters.
i have a software application and i have to import around 250 users data into the app. I want to automate this step,it the most common info like FN,LN,e-mail etc. The app runs on IIS and uses ASP. I am looking for a GUI input Automation tool which will have scripting capability to take input from a text file and fill the user input fields "automagically".can testing tools like winrunner do this for me?
I am in the process of writing a website which has an access database and uses asp to access it. Part of the site is a search facility. I have heard that it is possible for hackers to gain access to the database by entering SQL in to the search box. First of all is this possible? Secondly if it is possible, what sort of syntax should i be checking for on the text entered in to the search field
I have an ASP page that has a Form & Inputs that are related to an XML file. I would like to prepopulate the value of the Input with the corresponding field from the XML file.
How can I create a query based on the form input. I want to have a pulldown menu (list of states). The user can select the state, lets say VA and click on "go" button. I want the page to return results that has state=VA. So how do I create that statement and send to aspx ?
Is there a way to put this button in a disabled state, where it can't be clicked? I've tried adding an "enabled" property, but that doesn't work. I've even tried "visibility" property, but the input box doesn't seem to support that either.
i was wondering if i could enable/disable input according to the user, e.g. enable input2 if input1 is enable, else it's disabled. Also, if input1 is deleted then input2 is disabled.
I have an ASP page that acts as a log-in page. THe user is instructed to input a password. I was wondering if anyone knows how to default the cursor to that input box. This way the user does not have to move the mouse and place the cursor in the input box, they can just start typing a password.
i create a dynamic table to modify user/account for administrative management. I have modify & delete function to be performed.
The idea is that when the admin click the Delete link, he can delete a particular account/user. is it possible to pass variable of buff value to recID?? because when i see the result of request.querystring("recID"), i does not pass the mumerical value sound pretty simple but i can't get it. Code:
How do I make a form's text box focused on page load? I have a page that loads one text box for a user to enter their zipcode and then press search. How do I get the cursor to be in the box when the page loads. I do not have access to the Code:
<body .
Only what's between the body tags. Maybe a javascript out there?
I have a form on which I have a INPUT Type='Reset'. On clicking this button all the fields on the form should reset except a few. Is it possible to do this by setting some property of the control or do I have to specifically write code form that?
I have a list with product names (the list will grow),each of those products could be read as a barcode as well,so I was asked to change my web site so that users are able to scan that barcode, that would be easy if I didn't have to look after users who have a scanner and once that don't,
so the idea was if they have a scanner they scan in into a input box(not sure if combo box can be used) and according to the product code scanned that automatically populates the combo box list with the relevant product name, if they don't have a scanner then they just manually select the product name from the list.
Does anyone know if its possible to create and email HTML forms. Email recipients would then input information to these forms in the same way that they would on a web page. Pressing the submit button would mail the form back, after which it would be separately submitted to an ASP page on the web server for processing.
The main reason for this is so we don't have all the issues associated with firewalls and security to deal with. Our corporate mail servers will strip out viruses so that not a problem.
So far I've been using Sets to read information from the database (Set RS = Server.CreateObject("ADODB.RecordSet") and RS.Open queryString, Conn)
I've got a situation now where I have a function which returns just a single value. I call this function using "SELECT myFunction(parameters)". I can't use a result set to retrieve the function return value, can I? How should I do it?