Is there a way to control the length of the string a user enters into a prompt window? I have an asp, html, java filled web app and at one point the user receives a prompt and must enter a string. If the string is longer than the width of the prompt window, altho the prompt window allows the...
Awesome Dan thank you. I will do that. I realize now what is taking the value. It's:
<input name="Altreason" type="hidden" value="<%=bret(23,i)%>">
Yes I agree and if it is not a java or asp issue, perhaps it is a database issue, placing the problem firmly in someone else's hands. lol! I...
Okay. I get it. Here is the form line:
<FORM name="myform" action="AssnTrnEntsTEST.asp" method="POST" >
This asp page is the same page the user is on...The information is passed back into the same page and displayed in a table cell. I haven't found a css file yet or any evidence we're using...
No it does not appear this page is using a CSS. I wonder if it could have anything to do with where the comment is displayed after it is submitted. The string is displayed in a table cell. Perhaps the table cell can't handle the size of the string? Is that even possible? I would think it would...
The page is huge. I couldn't possibly ask you to go through all the code. It's ridiculous. And the only instance of "markar" is in the span tag and in the function. Is there any way within the function you looked at to control the length of the string? I really don't know what part of the html...
Okay I see. And the field that accepts the text from this box and displays it on the page after submit will not accept a string longer than the visual size of the text box. I realize span's don't limit length, but the field that uses this data apparently does. If that makes any sense. Plus the...
Okay I'm sorry you're right I should have included the code. Okay I have:
<code>
<span id="markar"></span>
</code>
I'm working with someone else's code here, and from what I can tell that single statement pulls up a little text box for the user to enter a comment. If the comment is longer than...
Good morning! I have a page with ASP, HTML, and java. In the HTML I have a span tag that brings up a little text box for the user to type in a "reason" for something. I cannot seem to control the length of the text entered in the span. I cannot find any attributes that will prevent the user from...
Okay things are trying to work. My new issue is dealing with the extra four digits some of my affiliate addresses have attached. The zips table has no extra 4 but my affiliates table does. Is there a way to address these extra digits?
Thank you so much for all your help. I have a table with the zip codes including latitude and longitude, the function and procedure you suggested, and my vb that calls everything to the program. I'm sure the problem at this point is my vb code. The function and procedure seem fine in SQL...
One more question and please forgive my being a pain. I see the code here is for calculating distances between two locations. Now that I have a latitude longitude table with my zip codes, can I request from SQL not the distance BETWEEN two but any that fall within 50 miles of a given location? I...
Okay judging by what I've been told, the guideline is any zip code within 50 miles of the zip code of the user. I am going to double check with my boss about the level of accuracy they need, but it sounds like all that matters is that the zip code of the affiliate is within 50 miles of the...
Thank you so much for the replies! I so appreciate the help. So it looks like I need latitude and longitude for my affiliates in order to do this correctly. That one link is great for finding them. We have over 1600 affiliates so my next issue would be finding and storing the latitude and...
Yes I have a database in SQL that will hold my affiliates and zip codes, and I've found zip code databases available online. It's the actual procedure or function to calculate which ones to retrieve that I can't seem to figure out.
I am trying to create a search page for users to search for our affiliates based on their zip code. I want to retrieve all affiliates within a 50 mile radius. I have looked all over the web and must admit I have no idea where to even start. I've seen everything but an idea of how to do it in...
Hey I just wanted to thank you again for helping me. It turns out your suggestion with function() works great and I figured out what to put in that line to reset my page properly. It's working finally thank you!!!!!
That helps!! Thank you so much. Now my only problem is that apparently the status is not what I need to change to clear my session variable. See if you leave this page via these links and then come back to this page, it reloads and reloads over and over UNLESS you have left the page by using the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.