Restricting alphabets in x:inputCalendar
Hi,
I'm using x:inputCalendar for the date fields. But I'm able to enter aplhabets into this field. Is there any way of restricting this from the front end?
Regards,
Santy
x:Calendar accepts XXXXXXX as a valid input?
Or do you want to restrict the type of data that can enter in the field?
EX: only numbers an \ or - and not letters.
Similar Messages
-
.How to control or restrict alphabets in whole number integer field in infopath (user not to enter alphabets ) 2.how to add repeating section of users into library
.for me only displaying only one name in libraryit is very simple
to prevent user from typing letters in your text box
- right click and select properties
- in Data Type drop down - select whole number (integer)
there is a repeated section in controls you can use it.
Ahmed Said Moussa SharePoint Consultant -
Help needed in Sorting Columns (date sorts alphabetically)
Hi All,
I have a report query as follows:
select to_date(period,'MON-YYYY') start_date
,exp_type
,id
,acct_ref
,dept_ref
,item_date
,amt
from test;
I need to display the report in the same order as select statement (start_date,exp_type,id etc). I have given default sort order in report attributes and user enabled sort on all columns. The report attributes look as shown below:
column_name / sort / sort_seq
start_date / yes / 3
exp_type / yes / 1
id / yes / -
acct_ref / yes / -
dept_ref / yes / 2
item_date / yes / 4
Now my problem is that the start date sorts alphabetically (as varchar) instead of chronologically (date wise). How can I resolve this?
If I change my default sort order so that start_date is sorted 1st, it works perfectly fine. Is there any restriction for APEX sort that says the column displayed needs to be sorted in the same order? How do I overcome it? Or is it possible to overcome it?
Any suggestions would be appreciated.
Thanks,
SumanaHi,
Thanks. But no I cannot change it to date, as there are many applications using it for displaying the period. But I found an equivalent date column for that period and tried using that. It was not working.
I did further analysis and found that even to_char(period) works fine. The problem was something else. In my region query the select statement was
select exp_type
,id
,amt
,to_date(period,'MON-YYYY')
from test.
I then had in region attributes used the arrows to change order of display, so that period appears first. That was the culprit. When I change my region query, to match the order in region attributes the date column as well as to_date(period) both work fine.
I never knew that the order of select statement and that in region attributes should match each other!!! And hence when posting I did not give importance to the order of my select list. Sorry for that.
The mystery is how was it working when i changed the sort order to say "period" 1st and then exp_type (2nd)
Thanks everyone for you help.
Thanks,
Sumana -
CATEGORIZATION using Alphabets in report
Hi,
I have a requirement in report where we need to rate the vendors based on quality and I need to categorize them using alphabets
E - EXCELLENT
G- GOOD
A- AVERAGE
P- Poor
Need to display these alphabets against each vendor based on their rating.
How could I achieve them.
Edited by: ravve king on Feb 25, 2009 5:07 AMHi
You can achieve this by 4 RKF by restricting the categories as E G A P -
Hi, is it possible to have a strict alphabetical filter for the cache suggestions in fields (like with the previous version) instead of the new "intelligent" system? For example, if I type "fire dr", I only want suggestions "fire dragon" or "fire drake" but not "dragon fire" or "dread fire". Thanks!
== This happened ==
Every time Firefox opened
== I updated FirefoxHi Morbus,
thanks for your answer.
First I must say that my question was in fact concerning Firefox 3.6.3. I updated my Firefox 3.0.19 to 3.6.3 and that's why I had this problem. But I also kept my 3.0.19 version and use it when I need the alphabetic field cache recognition (to play an online game in which you must be the first to recognize a picture and type its name in a field).
I launched 3.6.3 and install the cache utility you recommend, but unfortunately it's not the function I need. My question doesn't concern URL cache but ''field'' cache, and I don't need a soft that opens a new window.
I just would like to get the old alphabetic cache so the options are more restricted when I type, so I gain a little time. With the "new" cache, I have to type the whole name so the cache is not useful anymore.
Sorry, I don't know if I make myself clear... -
GROUP BY on Alphabetical Order
Hi All,
I have a table like:
ACCOUNT_NAME AMOUNT
ABC 1000
BHJ 2000
CUJ 1500
ACB 500
AGH 1000
BHK 450
YUO 900
The result should be Grouped By ACCOUNT_NAME in Alphabetical Order like
ACCOUNT_NAME AMOUNT
ABC 1000
ACB 500
AGH 1000
2500
BHJ 2000
BHK 450
2450
CUJ 1500
1500
YUO 900
900
(-- Line is just for clarity)
I can use only SQL (this is a restriction).
Can this be achieved using SQL.
Regards,
Gaurav SrivastavaHi Gaurav,
The following SQL will give you a running cumulative
total grouped by first letter of ACCOUNT_NAME:
select
account_name,
amount,
sum(amount) over (partition by substr(account_name,1,1) order by account_name)
from
your_table_name
Hope this helps.
Kailash. -
Email name restrictions for icloud
What are the name restrictions for creating a new name for an iCloud email account. Can one use some of the keyboard symbols like * # & % ! - $ __ ( ) or are you restricted to using the alphabet and numbers?
Hello Tuffy Wuffy,
This can be done by removing the iCloud account, then readding it.
On your iOS device’s Home screen, go to Settings > iCloud, then at the bottom of the screen, tap Delete Account.
iCloud: Change iCloud feature settings
http://support.apple.com/kb/PH2613
Cheers,
Allen -
How to restrict the user to enter only numeric values in a input field
How to restrict the user to enter only numeric values in a input field.
For example,
i have an input field in that i would like to enter
only numeric values. no special characters,alphabets .
reply ASAPHi Venuthurupalli,
As valery has said once you select the value to be of type integer,once you perform an action it will be validated and error message that non numeric characters are there will be shown. If you want to set additional constraints like max value, min value etc you can use simple types for it.
On the project structure on left hand side under local dictionary ->datatypes->simple types create a simple type of type integer
The attribute which you are binding to value property ;make its type as simple type which you made
Hope this helps you
Regards
Rohit -
Validation Rule - Should contain only alphabets and can be upto 4 characters long
Hi, I am using MDS 2012 and want to create a business rule for data validation which says,
"Should contain only alphabets and can be up to 4 characters long". How can I create such a rule in MDS? Also the Code and Name attributes are 250 characters by default. How to restrict them to 4 characters if business need them to be 4 or
less character?
Any help appreciated.
Thanks, Ashish SinghWhen creating a business rule, under Actions there is "Must be maximum length of" and "must contain patern".
See:
http://technet.microsoft.com/en-us/library/ff487015.aspx -
Ordering Characteristic Values in the order that you restrict them
Hi SAP Network,
I have created a BEx query and used up the 2 structures in the Rows area.
I have then placed a characteristic in the columns area and restricted the characteristic .
This characteristic in essence acts like a third structure.
The ordering of the characteristic values when the query is executed is by alphabetical order.
Are you aware if it is possible to have the same order displayed, as to which you drag the characteristic values onto the characteristic, ie. in the order that you choose.
Thank you in advance.
SimonHi there,
No it is not possible to make the characteristics sort by the order in which you restricted them.
One weay you could achieve this is by having a sequence navigational attribute (example values: 1,2,3,4,5,6,7 etc) and in the sorting of your characteristic use sort by attribute.
Best Regards
Mark -
Unicode range of Chinese alphabets
Hi
I need to restrict user to enter chinese character in a text box.
I need the unicode range of Chinese alphabets.
Is there any class in Java which has method to compare that the entered character lies in the unicode range of Chinese alphabets
If possible please support with proper java code
And i promise to give my Duke Dollars to the best response.
Thanks in advance
Regards
Sonal ManglaYou might use a Matcher to test input string against a Pattern, in which you can define unicode block(s) as character class.
Unicode blocks and categories are written with the \p and \P constructs as in Perl. \p{prop} matches if the input has the property prop, while \P{prop} does not match if the input has that property. Blocks are specified with the prefix In, as in "InMongolian".
The supported blocks and categories are those of The Unicode Standard, Version 3.0. The block names are those defined in Chapter 14 and in the file Blocks-3.txt of the Unicode Character Database except that the spaces are removed; "Basic Latin", for example, becomes "BasicLatin". -
To check alphabetic character in variable value
Hi All,
I have one query within which i need to check the content of variable in which restriction is that the variable should contain atleast one alphanumeric character and that too not at first position.
eg
variable var
var = 'a1234' is not allowed
but
var = '123a45' is allowed
so how can i check whether the var contain alphanumeric number?
Please provide sample code for reference.
Thanks & Regards,
ParagDATA a TYPE c LENGTH 10 VALUE '1123d56789'.
DATA b TYPE c.
DATA c TYPE c LENGTH 9.
DATA d LIKE c.
START-OF-SELECTION.
b = a+0(1).
TRANSLATE b TO UPPER CASE.
IF b CA sy-abcde.
WRITE 'First character can not be an alphabet letter'.
ELSE.
c = a+1(9).
d = c.
TRANSLATE c TO UPPER CASE.
TRANSLATE d TO LOWER CASE.
IF c = d.
WRITE 'No alphabet letters in a'.
ELSE.
WRITE 'At least one alphabet letter' &
'in a that is not in the first position'.
ENDIF.
ENDIF.
END-OF-SELECTION. -
Script to restrict user to enter alphanumeric data
What's the java script code, through which user can be restricted to enter or feed both type of data; i.e. alphabets and numeric. (for postal address fields).
I want to use this code in my JSP page.
UsmanHiii,
Please make use of onKeypress event of javascript.
U can block the required key codes.
Hope that helps. -
Anyone know how to put bookmarks in alphabet order
Does anyone know how to put bookmarks in alphabet order? I am using Yosemite and would like to have all my bookmarks in alphabet order is there anyway to do this. Please advise.
Thank youI don't understand the question. This?
Limit Ad Tracking
Restrict or reset Ad Tracking. Go to Settings > Privacy > Advertising. Turn on Limit Ad Tracking to prevent apps from accessing your iPhone advertising identifier. For more information, tap Learn More. -
Can the encrypted string contain only alphabets?
Hi friends,
I have problem with the encryption. I am using Des .
I want to get the encrypted string which contains only alphabets ( no digits or no special characters).
Help appreciated.
Thanks.Within the Java Cryptographic Extension (JCE), encryption works on bytes and generates bytes. You can convert any arbitrary String to bytes using one of the String.getBytes() methods (preferably the one where you define the encoding to use). The way you restrict what the plane text String contains is up to you.
The JCE produces secure encryption based on well tested algorithms.
The tone of your question implies that all you want to do is have a simple substitution cipher. The is very VERY VERY insecure and can be broken by a 2 year old. Use the JCE.
Maybe you are looking for
-
In PSE 12 (iOS) I can't find "Photomerge Panorama". The tutorial says it should be available in the menu File/New. Yet it isn't.
-
Formatted search query for displaying invoice items details
hi all, i need to display all the items in AP invoice.kindly suggest me a query for that. in AP invoice Ex. row items code--descqtyprice-- total I0001--XXXXXXX5-- 100 - 500 query should display this row as code--desc-- price I0001--XXXXXXX-- 100 I000
-
Looking for a More Robust Address Book Application for Mac
Hi- I have been assigned the task of consolidating all of our mailing lists into a single file. The final database will be 10,000 entries. Required: - normal address book fields (name address, phones, email) - six customizable fields (pull down menu
-
Session trace files not generated
Hai all, Am tracing a session as follows : EXEC DBMS_SUPPORT.start_trace_in_session(sid=>2166, serial=>30629, waits=>TRUE, binds=>FALSE); EXEC DBMS_SUPPORT.stop_trace_in_session(sid=>2166, serial=>30629); but,no trace files are getting generated ?..
-
Photoshop Elements 5.0 will not download photos into folders on our hard drive (only individually). It also does not give the option to NOT launch the photo organiser. I have recently upgraded to Win7. Can anyone help?