Ios 7 bug input type=text delay
After updating from IOS6 to IOS7 a huge delay occurs on my website filling text-input fields.
Safari blocks each new input-field for 30 seconds before i can enter my data.
Send feedback/suggestions to Apple.
http://www.apple.com/feedback/ipad.html
Cheers, Tom
Similar Messages
-
Using HTML5 and Firefox 4.0.1, following code :
<form>
<input type="text" name="my_input"
pattern="^[A-Z]([a-zA-Zçéèâêîôûäëïöü-]{1,47}|.)" />
</form>
fails to validate input like "François" or "André" but "Francois" ou "André" is accepted. The problèm occurs with string including any diacritic character.
(The REGEX validates using "Expresso" Regular Expression Editor.)See https://developer.mozilla.org/en/HTML/element/input
<blockquote>pattern HTML5:
A regular expression that the control's value is checked against. The pattern must match the <u>entire</u> value, not just some subset. Use the title attribute to describe the pattern to help the user. This attribute applies when the value of the type attribute is text, search, tel, url or email; otherwise it is ignored.</blockquote>
<pre><nowiki>pattern="^[A-Z]([a-zA-Zçéèâêîôûäëïöü-]{1,47}|.)$"</nowiki></pre> -
I want to validate multiple input type=text with spry validation any one hepl me?
I want to validate multiple input type=text with spry validation any one hepl me?
my code is as below plz help me
*Professional Experience Years MonthsRead;
http://labs.adobe.com/technologies/spry/articles/textfield_overview/index.html
http://labs.adobe.com/technologies/spry/widgets/textfieldvalidation/SpryValidationTextFiel d.html
and check out the samples:
http://labs.adobe.com/technologies/spry/samples/ -
Try get value in input type="file". Not is full path. It's bug?
In html:
<input type="file" id="path_image">
In javascript:
path_image = document.getElementById("path_image").value;
Example:
Select path: "/images/image.gif"
This result:
path_image = " image.gif"You cannot preset input values for input type="file" elements. It's prohibited by HTML specification. It's namely a security hole.
Imagine that one developed a webpage with input type="file" pointing to c:/passwords.txt and added window.onload=form.submit(), what would happen if one opened such a webpage?
That said, get rid of scriptlets and step over to taglibs/EL. This is 2009, not 1999.
<input type="text" name="foo" value="${param.foo}" /> -
Building hashtable for INPUT types dynamically
In my jsp I want to define a method which can build and return a hashtable of all the input types defined inside a form. For example if my form looks like :
<form name="detail_form" method="post" action="">
<input type="text" name="asset_name" size="15" value="ABC">
<input type="text" name="asset_desc" size="45" value="Laptop">
<input type="hidden" name="employee_id_key" value="58975">
<input type="hidden" name="asset_id_key" value="15">
</form>
then my method will be like :
<%!
public Map getCurrentData()
Map paras=new HashMap();
paras.put ("asset_name", "ABC");
paras.put ("asset_desc", "Laptop");
paras.put ("employee_id_key", "58975");
paras.put ("asset_id_key", "15");
return paras;
%>
Now the problem is :
since the code inside the form can be dynamic (like there can be different number of INPUT types with different names) so I want my method getCurrentData() to be dynamic. That probably means some sort of loop to go through all the INPUT types in the form and storing it in hashtable. But I dont know how to do it in java. Can anybody help me please. ThanksI am not exactly sure what you mean by "input types" but you could use the request.getParameterMap() method after the form is submitted. So for example you would have your form like <form ... action="nextpage.jsp"> and on nextpage.jsp you could call request.getParameterMap() to create a map of all the paramaters and their values. Here is what I mean...
<form name="detail_form" method="post" action="nextpage.jsp">
<input type="text" name="asset_name" size="15" value="ABC">
<input type="text" name="asset_desc" size="45" value="Laptop">
<input type="hidden" name="employee_id_key" value="58975">
<input type="hidden" name="asset_id_key" value="15">
</form>
then on nexpage.jsp you could say
<% Map myMap = request.getParamaterMap(); %>
Good Luck
Zac -
HELP INPUT TYPE = hidden values SEEN IN URL QUERY STRING!!!
Trying to do session management using hidden fields.
The fields that are suppose to be hidden show up in the query string of the URL.
I have included the code, the output to the web page
and the URL with the "hidden" fields please help.
HIDDEN FIELDS IN URL QUESRY STRING
http://localhost:8080/myApp/servlet/Servlet077?firstName=Sandra&item=Michael
WEB PAGE OUTPUT
Enter a name and press the button
Name:
Your list of names is:
Michael
Sandra
JAVA SOURCE CODE
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class Servlet077 extends HttpServlet{
public void doGet(HttpServletRequest req,
HttpServletResponse res)
throws ServletException, IOException{
//An array for getting and saving the values contained
// in the hidden fields named item.
String[] items = req.getParameterValues("item");
//Get the submitted name for the current GET request
String name = req.getParameter("firstName");
//Establish the type of output
res.setContentType("text/html");
//Get an output stream
PrintWriter out = res.getWriter();
//Construct an HTML form and send it back to the client
out.println("<HTML>");
out.println("<HEAD><TITLE>Servlet07</title></head>");
out.println("<BODY>");
//Substitute the name of your server or localhost in
// place of baldwin in the following statement.
out.println("<FORM METHOD=GET ACTION="
+ "\"http://localhost:8080/myApp/servlet/Servlet077\">");
out.println("Enter a name and press the button<P>");
out.println("Name: <INPUT TYPE=TEXT NAME="
+ "\"firstName\"><P>");
out.println("<INPUT TYPE=submit VALUE="
+ "\"Submit Name\">");
out.println("<BR><BR>Your list of names is:<BR>");
if(name == null){
out.println("Empty<BR>");
}//end if
if(items != null){
for(int i = 0; i < items.length; i++){
//Display names previously saved in hidden fields
out.println(items[i] + "<BR>");
//Save the names in hidden fields on form currently
// under construction.
out.println("<INPUT TYPE = hidden NAME=item "
+ "VALUE=" + items[i] + ">");
}//end for loop
}//end if
if(name != null){
//Display name submitted with current GET request
out.println(name + "<BR>");
//Save name submitted with current GET request in a
// hidden field on the form currently under
// construction
out.println("<INPUT TYPE = hidden NAME=item "
+ "VALUE=" + name + ">");
}//end if
out.println("</body></html>");
}//end doGet()
}//end class Servlet071. Change <form name=xxx action="your_servlet" mathod="Get"> to
<form name=xxx action="your_servlet" mathod="POST">
2. Add the following lines of code to your servlet.
public void doPost(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
doGet(req,res);
return;
}Sudha -
Adding input type to my mail page and PHP attached to it question
I need to add a few more input boxes in my form but every time I do it, I still only get what's on the code under this what I'm writing now.
This is the code in my mail page itself:
<form action="mail.php" method="POST">
<p><b>Name</b><br>
<input type="text" name="subject" size=40>
<p><b>Please fill out your email/address/phone number</b><br>
<textarea cols=40 rows=10 name="message"></textarea>
<p><input type="submit" value=" Send ">
</form>
This is the code in my php page it's attached to.
<html>
<head><title>Support a Hero</title></head>
<body>
<?php
$email = '[email protected]';
$subject = $HTTP_POST_VARS['subject'];
$message = $HTTP_POST_VARS['message'];
if (!preg_match("/\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/", $email)) {
echo "<h4>Invalid email address</h4>";
echo "<a href='javascript:history.back(1);'>Back</a>";
} elseif ($subject == "") {
echo "<h4>No subject</h4>";
echo "<a href='javascript:history.back(1);'>Back</a>";
elseif (mail($email,$subject,$message)) {
echo "<h4>Thank you for sending email</h4>";
} else {
echo "<h4>Can't send email to $email</h4>";
?>
</body>
</html>anybody know? I can't seem to add extra post_vars to communicate with my PHP script. What am I doing wrong? It looks like it should work. I get the email to my email but I'm only getting the name in my email subject and then the message. The other boxes that are filled out don't come to my email. I would like to see where the email comes besides "secure server". Is that possible? Here's the script.
This is in my HTML:
<body>
<form action="mail.php" method="POST">
<p><b>Name</b><br>
<input type="text" name="subject" size=40>
<p><b>Name</b><br>
<input type="text" name="name" size=40>
<p><b>Name</b><br>
<input type="text" name="email" size=40>
<p><b>Name</b><br>
<input type="text" name="phone" size=40>
<p><b>Please fill out your email/address/phone number</b><br>
<textarea cols=40 rows=10 name="message"></textarea>
<p><input type="submit" value=" Send ">
</form></td>
</tr>
</table>
Here is my PHP that it's attached to.
<html>
<head><title>Support a Hero</title></head>
<body>
<?php
$email = '[email protected]';
$name = $HTTP_POST_VARS['name'];
$your email = $HTTP_POST_VARS['email'];
$phone = $HTTP_POST_VARS['phone'];
$message = $HTTP_POST_VARS['message'];
if (!preg_match("/\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/", $email)) {
echo "<h4>Invalid email address</h4>";
echo "<a href='javascript:history.back(1);'>Back</a>";
} elseif ($subject == "") {
echo "<h4>No subject</h4>";
echo "<a href='javascript:history.back(1);'>Back</a>";
elseif (mail($email,$subject,$message)) {
echo "<h4>Thank you for sending email</h4>";
} else {
echo "<h4>Can't send email to $email</h4>";
?>
</body>
</html> -
List of Input types to use w/JSP
Does anyone know where can I get a list of Input types(Text, Radiobutton, etc.)which works with JSP.
Thanks for your help.
Markive tried all std html input types and it has worked . have you heard of any exceptions
-
Web App - different input type when submitting
I have a Web App image field on a customer submitted Web App field.
It is originally inserted as
<input type="field" name="CAT_Custom_22222" ... />
But I'm using it as
<input type="text" name="CAT_Custom_22222" ... />
and from another dropdown field input, a jQuery snippet would grab the value and insert into it
so then it would look like this
<input type="text" name="CAT_Custom_22222" ... value="/image/image-set/A/C/E/111.jpg" />
The dropdown has set of pre-defined URL of images so when users change, it will print the image on the page as well as update the IMAGE field to be submitted.
It was set up that way due to another "non-web-person-client-case"
There are random "users" submitting the web form and they are meant to upload certain file from limited selection anyway so I set up the dropdown.
If an administrator needs to change the image, he can log into backend and upload image and of course he's not capable of finding correct URL path and type it in
(that's why it couldn't be a text field in the first place)
Long story short, this has been working beautifully for last couple of years then suddenly stopped working. I guess there must have been a change where BC wouldn't accept type="text" for a field meant to be type="file". It's bit disappointing as BC database would still save it in string format anyway.
Any suggestion to this ?Hi,
Please see the links and check they are helpful:
http://blogs.office.com/2013/08/01/introducing-a-new-user-experience-feature-in-access-web-apps-cascading-controls/
http://msdn.microsoft.com/en-us/library/office/jj249372(v=office.15).aspx
Then, the issue is more related to Access web app DEV, I recommend you post the question to MSDN forum for Access:
http://social.msdn.microsoft.com/Forums/en-US/home?forum=accessdev&filter=alltypes%2Calllanguages&sort=lastpostdesc
Thanks for your understanding.
Regards,
George Zhao
TechNet Community Support -
In my application I am using <input type = "time"> but in Firefox 30.0 its showing plain text box. Can anyone tell me which version of Firefox supports this feature?
<input type = "time"> is added in HTML5.See:
*https://developer.mozilla.org/Web/HTML/Element/Input#Browser_compatibility
<i>Please do not comment in bug reports<br>https://bugzilla.mozilla.org/page.cgi?id=etiquette.html</i> -
Specified url text input type of form in DW CS5
If I wanted to dilspay a text input type form on the site's last page, Will the url link function during my table data display? I'm assuming it will be hoverable and active as a link if the text input type form used to submit the link to the database is set up properly? The text input type form creates a record that is automatically saved on a database that I can then use to check for display errors. What other type of url links work with text input type forms in DW.
If I wanted to dilspay a text input type form on the site's last page, Will the url link function during my table data display?
I don't understand what you are asking. Can you say more about this url link function, and the text input type form? -
How do you send a text message to an Android user via Messages? My wife and I both have iPads running 8.1 iOS. When she types in the addressee name it appears in red (not in mine). Then she is not allowed to send.
There are a lot of posts in the forums today with people having problems with iMessage. There was also a published outage yesterday, so it's possible there are still some issues that may be impacting you both.
I would just wait it out - I'm sure it will be sorted out soon. -
OPEN DATASET FOR INPUT IN TEXT MODE - linesize issue
Hi,
I faced a problem when opened ANSI file with CYRILLIC in ECC 6.0 Unicode system - the system cuts the line to 250 characters. Below is snip of code:
REPORT Z_TEST_01 LINE-SIZE 1023.
DATA:
file TYPE char40 VALUE 'ansi_file.txt',
line TYPE char1024, len TYPE i.
OPEN DATASET file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
WHILE sy-subrc = 0.
READ DATASET file INTO line ACTUAL LENGTH len.
WRITE: / len, line.
ENDWHILE.
CLOSE DATASET file.
In this case, variable LEN always get value 250. File-content is correctly converted from ANSI and all CYRILLIC is displayed to the screen. I changed type for LINE - initialy the type was STRING, actially.
Further, tried to open it in BINARY - like this:
DATA:
file TYPE char40 VALUE 'ansi_file.txt',
line TYPE char1024, len TYPE i.
FIELD-SYMBOLS <hex_container> TYPE x.
OPEN DATASET file FOR INPUT IN BINARY MODE.
ASSIGN line TO <hex_container> CASTING.
DO.
READ DATASET file INTO <hex_container>.
IF sy-subrc = 0.
WRITE: / line.
ELSE.
EXIT.
ENDIF.
ENDDO.
CLOSE DATASET file.
WRITE: / line.
In this case I got bigger linesize (obviously 1024), but faced conversion issues - the file contains some CYRILLIC and it is messed. Played for few hours with conversions - using additions: IN LEGACY BINARY MODE... BIG/LITTLE ENDIAN, CODE PAGE... without success. So decided to ask...
Well, I searched SDN for a similar issue, but didn't found, except this one:
Re: OPEN DATASET STRING Problem
Could someone points me what am I doing wrong? How can I read my ANSI file with line-size more than 250 chars? Actually, in my case line size may vary up to 1800 chars. Further, afrer conversion and some validation, I should save it back to the AS.
Many thans in advance.
Regards,
Ivaylo MutafchievSorry for the noise - it is not an issue anymore.
-
Passing request of file input type to a jsp
Hi i m using this script for file uploading the form is.... <html > <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <form action="uploadscript.jsp" name="filesForm" enctype="multipart/form-data" method="post">
Please specify a file, or a set of files:
<input type="file" name="userfile_parent" value="userfile_parent" >
<input type="submit" value="submit" value="Send">
</form> </body> </html> And i am tring to get the url on uploadscript.jsp by using String parentPath=request.getParameter("userfile_parent"); but i foud that its value is NULL it is not working what should i do to get the userfile_parent on uploadscript.jsp help me!!! Message was edited by: UDAY Message was edited by: UDAY
avajain
Posts: 135
From: Noida , India
Registered: 5/10/06
Read Re: Passing response but getting NULL
Posted: Sep 20, 2006 2:43 AM in response to: UDAY in response to: UDAY
Click to reply to this thread Reply
Use method="GET" in place of method="post" .
Thanks
UDAY
Posts: 26
From: JAIPUR
Registered: 8/14/06
Read Re: Passing response but getting NULL
Posted: Sep 20, 2006 3:18 AM in response to: avajain in response to: avajain
Click to edit this message... Click to reply to this thread Reply
now it is giving this error message by e.getMessage()
[br]the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is null
the uploadscript is this....
http://www.one.esmartstudent.com
can u please help me.Here is sample code which we have used in one of our projects with org.apache.commons.fileupload.*.
You can find String fullName = (String) formValues.get("FULLNAMES"); at the end that gives name of file.
<%@ page import="java.util.*"%>
<%@ page import="java.util.List"%>
<%@ page import="java.util.Iterator"%>
<%@ page import="java.io.File"%>
<%@ page import="java.io.*"%>
<%@ page import="org.apache.commons.fileupload.*"%>
<%@ page import="org.apache.commons.fileupload.disk.*"%>
<%@ page import="org.apache.commons.fileupload.servlet.*"%>
<%!
//method to return file extension
String getFileExt(String xPath){
//Find extension
int dotindex = 0; //extension character position
dotindex = xPath.lastIndexOf('.');
if (dotindex == -1){ // no extension
return "";
int slashindex = 0; //seperator character position
slashindex = Math.max(xPath.lastIndexOf('/'),xPath.lastIndexOf('\\'));
if (slashindex == -1){ // no seperator characters in string
return xPath.substring(dotindex);
if (dotindex < slashindex){ //check last "." character is not before last seperator
return "";
return xPath.substring(dotindex);
%>
<%
Map formValues = new HashMap();
String fileName = "";
boolean uploaded = false;
// Check that we have a file upload request
boolean isMultipart = FileUpload.isMultipartContent(request);
//Create variables for path, filename and extension
String newFilePath = CoeResourceBundle.getEmailProperties("FILE_UPLOAD_PATH");//application.getRealPath("/")+"temp";
String newFileName ="";
String FileExt = "";
//System.out.println(" newFilePath"+newFilePath+"/");
//out.println(" newFilePath"+newFilePath+"<br>");
// Create a factory for disk-based file items
FileItemFactory factory = new DiskFileItemFactory();
// Create a new file upload handler
ServletFileUpload upload = new ServletFileUpload(factory);
// Parse the request
List /* FileItem */ items = upload.parseRequest(request);
// System.out.println(" newFilePath"+newFilePath+"/");
// Process the uploaded items
Iterator iter = items.iterator();
//Form fields
while (iter.hasNext()) {
//System.out.println("in iterator");
FileItem item = (FileItem) iter.next();
if (item.isFormField()) {
String name = item.getFieldName();
String value = item.getString();
if (name.equals("newFileName")) {
newFileName = value;
//System.out.println("LOADING");
formValues.put(name,value);
else {
//System.out.println("in iterator----");
String fieldName = item.getFieldName();
fileName = item.getName();
int index = fileName.lastIndexOf("\\");
if(index != -1)
fileName = fileName.substring(index + 1);
else
fileName = fileName;
FileExt = getFileExt(fileName);
String contentType = item.getContentType();
boolean isInMemory = item.isInMemory();
long sizeInBytes = item.getSize();
if (fileName.equals("") || sizeInBytes==0){
out.println("Not a valid file.<br>No upload attempted.<br><br>");
} else {
// out.println("ACTUAL fileName= " newFilePath"\\"+fileName+ "<br>");
//File uploadedFile = new File(newFilePath+"\\", newFileName+FileExt);
File uploadedFile = new File(newFilePath+"/",fileName);
File oldFile = new File(CoeResourceBundle.getEmailProperties("FILE_UPLOAD_PATH")+"/"+fileName);
File oldFileApproved = new File(CoeResourceBundle.getEmailProperties("APPROVED_FILE_LOCATION")+"/"+fileName);
try{
if (!oldFile.exists()&&!oldFileApproved.exists())
item.write(uploadedFile);
uploaded = true;
//out.println(fileName+" was successfully uploaded as "+ newFileName+FileExt +".<br><br>");
catch (java.lang.Exception e) {
out.println("Errors prevented the file upload.<br>"+fileName+ " was not uploaded.<br><br>");
String userid = (String) formValues.get("USERID");
String fullName = (String) formValues.get("FULLNAMES");
String email = (String) formValues.get("EMAILID");
String empno = (String) formValues.get("EMPNO");
String docType = (String) formValues.get("DOCTYPE");
String desc = (String) formValues.get("MYTEXT");
String title = (String) formValues.get("TITLEBOX");
String module = (String) formValues.get("MODULE");
String techfunctype = (String) formValues.get("TECHFUNCTYPE");
%> -
Changing the Condition type Text in the Purchase Order
Hi SAP,
Hi,
We have a requirement where by we need to change the Description of the condition type text in the Purchase order.
The condition type is a entered at item level.
Normally this description comes from the Condition type Definiton i.e., T685T-VTEXT.
can any one of you suggest a User exit or a method where by we can change this text at PO.
Has any one of you came across such situation before. if so please provide me with your inputs.
Thanks
Best Regards
ShitalD
Edited by: Shital Deshpande on Feb 21, 2010 1:07 PMHi,
I think it is a config setting..Please check with your functioal consultant regarding the same.. I won't suggest to change the standard SAP table T685T but you can keep it as last option .
From SPRO you can follow the below path
Sales and Distribution->Basic Functions -> Pricing > Pricing Control -> Define condition types.
Regards,
Nagaraj
Maybe you are looking for
-
How to change a labels text which created at runtime?
hi, i am creating label controls in runtime dynamically and adding them to a group component. this group component is in another custom component and i have lots of custom comp. in my app. my question is how can access (via id) and change a labels te
-
How to make an XML file from SQL query on local disc (c:\temp)?
This query shows me XML results, but can I somehow make an XML file to local disc? Thanks. DECLARE @IMO NUMERIC(8,0) DECLARE @Counter INT SELECT @Counter = 1 WHILE ( @Counter <15 ) BEGIN SET @IMO = (SELECT ImoNo from Vessel where ID=@Counter) SELECT
-
Problem with file URI for external DTD
Hi All, I am getting UnknownHostException when i am trying to parse an XML data as InputSource to parser. The exception is thrown while to trying resolve file uri set for inputsource to locate DTD. The code works fine in of the Solaris machine but it
-
Win7 Pro, 64-bit. 16Gg RAM I am new to Illustrator. I have the CS4 version, and chose (maybe bad idea for someone new to the SW) to use it to make vector a scan I was placing in a Photoshop (CS6) document. When Placing I of course put it on its own l
-
Premiere Pro CC 2014 crashing when playing back especially when playing back graphics.
I updated Premiere Pro to CC 2014 last week and found it crashing a lot when playing back especially when playing back graphics. Has anyone else had this problem?