Custom Date for Birthdate entry

I got issued a project that requires me to take a pre-exsisting professional Scholarship form and make it into a PDF. I've been able to make the form fields with no problem but I'm running into a few issues with the Date format.  This form requires the Applicant to type out their Birthdate and Social Security #, however, the higher ups don't like the default method Acrobat uses.
Problem #1: Because some of our Applicants are Elderly and/or are not very computer literate, I want there to be "some" flexibility to them typing out their birthdate.  IE, MDDYY, MMDDYY, MDDYYYY, MMDDYYYY will Validate through a script that turns it into the company standard format of MM/DD/YYYY.  I have a very basic bit of Custom Keystroke script that I found and edited slightly.  Its not pretty though.
var a = event.value;
if(a.length==5){var b = util.scand("mddyy",a);event.value = util.printd("mm/dd/yyyy",b)}
if(a.length==6){var b = util.scand("mmddyy",a);event.value = util.printd("mm/dd/yyyy",b)}
if(a.length==7){var b = util.scand("mddyyyy",a);event.value = util.printd("mm/dd/yyyy",b)}
if(a.length==8){var b = util.scand("mmddyyyy",a);event.value = util.printd("mm/dd/yyyy",b)};
This does what I want it to do, sort of, but deviating outside of this script results in undesired results. IE typing 02/13/71 will get 02/13/71 not 02/13/1971.  Then there's a potential problem of the century. Typing 021327 will get 02/13/2027 not 1927.
Can anyone lead me in the right direction of where to close the flexibilty off at giving an Audio Alert when any other keystroke besides 0-9 and / is entered while maintaning the Validity of the above format of MM/DD/YYYY?
(I realize this is pretty much nitpicking, but the higher ups say jump and I have to say How High and I'm not at the skill level yet to achieve the desired results.)
Problem #2: In the same form, the Applicants SSN needs to be entered but the default format under Properties > Format > Special is requiring the full 9 digits. However, we have more than a few people who have "less" than 9 digits.  Given that the higher ups want to give some flexibilty to Elderly and non-computer literate on the SSN field as well, I've been asked to correct this problem.  Now, I've been steered in the direction of Leading Zeros script and AutoTab features, but to be honest, most of this is beyond my understanding in how to achive it. I understand the concept of leading 0's in the util.printd feature of the 999-99-9999 format, however, any attempt to do this stuff leads in undesired results.  Please help if you can.
Thanks in Advance,
Dean

Thank you for replying Gkaiseril, not really sure what you're talking about with RegExp, hidden Fields and the like.  As I stated above, my skills with acrobat are limited and my knowledge of Java script is less than that.  Could you give examples or write out examples of what you're talking about?  I plan to learn more on Java, scripting and getting better at Acrobat, but for the mean time, I just need the scripting of how to get the Date field to do what I want it to do.
As for the SSN, I'm aware of the 9 digit limit, this is why I'm wanting the script to fill in less-than-9-digit SSN's with leading Zeros.  We have had examples of the past of our clients and applicants with Exm 001-34-5678 not entering their 0's first and it confuses them as why their paperwork was'nt accepted or returned invalid.  Plus, our OCR system doesn't like the SSN field if its entered incorrectly.  This is why I was directed to look at leading 0's and something about a decimal point ...
I haven't looked into the util.printd yet, in fact I know absolutely nothing about it except from what you told me.  No idea where to look for the things I want to accomplish.

Similar Messages

  • XD02 transaction to change the customer data for updating KNA1 table?

    Hi all,
    How can we use XD02 transaction to change the customer data for updating KNA1 table?
    Give the steps.
    Thanks in advance
    rk

    Hi KR,
    Why don't u use BDC to run XD02.
    With Regards,
    Zafar Ali

  • Custom dates for change request

    Hi all,
    we wanted to have a possibility where we can maintain several (to be defined and must be easily changeable) time estimates on change requests, for example:
    u2022     Time estimated for development
    u2022     Time spend for development
    u2022     Estimated time left for development
    I have tried to create a custom date. I got confused with the date rules and the entire procedure. I was not sure whether the procedure is correct or not.
    Kindly advice on the exact procedure for creating custom dates for change request.
    Regards,
    Subhashini.

    Hi all,
    could anyone guide on this issue pls.
    Regards,
    Subhashini.

  • AP Aging report - key date for user entry

    Hi All,
    We have a requirement to calculate aging buckets like 0-30,31-60,61-90...etc.
    I know the key date for this report is created on net due date in SAP standard report.
    In standard SAP report , key date is always a system date(SY-DATUM).
    What we need for this report is , we need to get all the invoices which are outstanding as of that date(the date which user enters).
    If user enters today's date(08/28/07) , he should get all the invoices outstanding till that date in aging buckets and if user enters some date in the past like 07/26/07, he should get all the invoices outstanding as of that date.
    Can  someone Pls tell me if aging buckets are calculated based on a user entry ?
    Regards,
    Kumar

    Hi Voodi,
    Aging in the standard report is being calculated like below...
    1.For open items
    Posting date<key date
    Item status = O
    2.Posting date < keydate and clearing date > key date and net due date with offsets on keydate ( key date + 1 - keydate+30 --- for 1-30 days) like wise for all aging buckets.
    in this scenarion , key date is always system date ie today's date.
    But user wants to get all the invoices based on his user entry...
    is this possible with the same standard key date variable or do we need implement any other logic???
    Regards,
    Kumar

  • Foreign Trade / Custom data for local Client

    Hi SD's,
    I've an issue regarding the creation of Billing document, because for a local Client it is asking me for this data.
    We've a 3 scenarios working:
    1- Normal sales inside the country for a certain Order Type - ZA, Delivery Type - ZA and Billing doc Type - ZA. Flow works ok.
    2- Export sales - flow work ok and the user as to fill Foreign Trade / Custom data (using the same documents types as above);
    3- Intermediation - for local client or to export, here is where the system fails when we've local Client it still ask for Foreign Trade / Custom data and it should not. In this scenario we are using Order Type - ZB, Delivery Type - ZB and Billing doc Type - ZB and we've CO-PA for this scenario.
    I think this may be related because before we've this scenario integrating with CO-PA everything worked perfect.
    Does anyone have a clue on this?
    I've read some notes regarding Foreign Trade / Custom data but none of them seam to answer my problem.
    Thanks in advance.
    Regards,
    BO.

    Hi bruno
    It is in copy control  VTLA and in  VTFL also . select your order type and delivery type and click on blue lens on top left. There try to maintain as follows:-
    Order requirements:::::::001
    Combination requirmt::::051
    Header Data:::::::::::::::::001
    Similarly, go to VTFL, select your delivery type and billing type and click on blue lens on top left. There for the field Determine export data, maintain as per your requirement and for Copying requirements, maintain routine 003.
    Regards
    Srinath

  • Extract Cube data for all entries of an internal table

    Hi
    I want to fetch the data from the cube for all entries of another internal table.
    Scenario : Fetching the COMPANY_CODE and DATE into an internal table and for those company codes and Dates, I have to fetch the records of the Cube.,
    I am using the Function Module : RSDRI_INFOPROV_READ
    But not sure how to accommodate the multiple selections condition for this.
    Selection Required:
                                    *For all entries of it_cc
                                      where comp_code = it_cc-comp_code and
                                                  date = it_cc-date.*
    Please help me how to such multiple conditions and "for all entries" functionality for fetching the data from the cube.
    Thanks.
    Veera Karthik G

    HI
    You can try like this
    LOOP AT lt_donotcall_old .
    <ls_donotcall>-examination_date = sy-date.
    <ls_donotcall>-examination_time = sy-time.
    ENDLOOP.
    append it_donotcall_old.
    Reward all helpfull answers
    Regards
    Pavan

  • Read data : for all entries

    wht happens if v read data using FOR ALL ENTRIES in select statement

    Hi Ankur,
    You can only use FOR ALL ENTRIES IN ...WHERE ...in a SELECT statement.
    SELECT ... FOR ALL ENTRIES IN itab WHERE cond returns the union of the solution sets of all SELECT statements that would result if you wrote a separate statement for each line of the internal table replacing the symbol itab-f with the corresponding value of component f in the WHERE condition.Duplicates are discarded from the result set. If the internal table itab does not contain any entries, the system treats the statement as though there were no WHERE cond condition, and selects all records (in the current client).
    For Example:
    SELECT *
      FROM SCARR
      INTO TABLE t_scarr.
    LOOP AT t_SCARR INTO wa_scarr.
      SELECT SINGLE *
        FROM sflight
        INTO wa_sflight
       WHERE carrid EQ wa_scarr-carrid.
      APPEND wa_sflight TO t_sflight.
    ENDLOOP.
    Instead of the Above use below code:
    SELECT *
      FROM SCARR
      INTO TABLE t_scarr.
    SELECT *
      FROM SFLIGHT
      INTO TABLE t_sflight
       FOR ALL ENTRIES IN scARR
    WHERE carrid EQ t_scarr.
    this condition, return all entries of the sflight
    Refer the Below Links for more Info:
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3a1f358411d1829f0000e829fbfe/content.htm
    Regards,
    Sunil

  • Custom data for equipment load from ECC to CRM 7.0

    Dear All,
    Please suggest the steps required to trace the initial/delta load data for equipment from ECC to CRM & carry out the enhancement for missing fields data.
    Thanks & Regards
    DB

    Hi,
    You have to use download object CRM_EQUI_LOAD. First ensure that all the materials and business partners from  ECC to  CRM are downloaded.
    For more details jut go through
    http://help.sap.com/saphelp_sm40/helpdata/en/94/657a3b233b8541a18ed80b424bf1f8/frameset.htm
    Best Regards,
    Rajendra

  • Creating custom fields for manual entry and fields that gather data from Active Directory

    So I am no SQL developer but I am being asked to do this.. I've spent the last few days researching but cannot find anything related to my particular situation.
    I have made a copy of the following report to add or modify a few columns:
     Hardware 01A - Summary of computers in a specific collection
    So I have 2 questions:
    How do I create a field that will search the "Managed By" tab in the Computer Properties window in Active Directory.
    How do I create a field that can be manually updated for example: "Date Deployed" or "Deployed By: Analyst"
    I understand I need edit this in SQL report builder and think I know how to create the columns. I believe all I am really asking is.. What are the SQL statements I need to write in order to get this to work?
    I'm sure it's not as cut and dry as I hope it to be so I will be standing by to try to answer any further information that you will want to know.
    thanks!

    Before you can accomplish this you need:
    "Managed by" -attribute has to be added to your Active Directory System Discovery, more on this here: http://technet.microsoft.com/en-us/library/bb693618.aspx
    For "Date Deployed", I'd use a custom Tattoo script in your task sequence to "Tattoo" the installation info in the registry, after that I'd configure the Hardware Inventory to pick that from the registry, more on this here: http://ccmexec.com/2012/08/script-to-tattoo-the-client-registry-during-osd/
    and here: http://www.petervanderwoude.nl/post/reporting-about-the-all-the-different-os-deployment-versions-with-configmgr-2012/
    After those prerequisites, you can start working with SQL reports. More info here: http://myitforum.com/myitforumwp/2012/10/29/sccm-2012-reporting-for-dummies-creating-your-own-ssrs-reports/

  • Modifying Cube/ODS data for few entries

    Hi friends,
    Is there any way to modify few record entries of couple of chars. in either
    cube/ODS without actually distrubing the settings.
    regards.

    Hi Nasiroddin,
        Create a generic datasource based on ODS Active table. Create update rules from this ODS into this ODS only(Loop back).
        Pull data till PSA and edit manually(if records are less) or write some routines to change data accordingly and load except key figures(or map only required fields in overwrite mode).
        Push delta from this ODS to subsequent target, data will be corrected automatically.
    Hope it Helps
    Srini

  • Custom data for x-axis

    I am facing a problem with ploting a desire graph. I am acquiring data (in Volt) from peripheral and have to plot it against a calculated data in X-axis.
    the X-axis data will be calculated from time. means like that--
                                                                                                              x=t*5000*15
    the problem is -
                                     1. i have to access the time duration "t".  
                                     2. i have to plot X vs Y where Y is a real time data. 
    is it possible to access the computer clock for this purpose or I have to do somthing else? which one will be more convenient?
    Should I use XY graph or somthing else? 

    Hello Sukhiray,
    Thank you for contacting National Instruments!  It sounds like you are trying to just scale the X-axis by a multiplier.  Is that correct?  If so there is a property node that you can use that will do just that.  I have attached a screenshot that shows you how to get to the property for the X-axis multiplier. If you place a Waveform Graph on the Front Panel and then go to the Block Diagram and right click on the Waveform Graph you should be able to navigate to the property and place it on your Block Diagram.  From the formula that you have I believe you will just need to set your multiplier to 75000 and you will get the X-Axis that you desire.  I hope this helps!
    Thanks!
    Bob H
    Applications Engineer
    National Instruments
    Attachments:
    Xaxis Multiplier.JPG ‏114 KB

  • Custom Fast formula for Time Entry Rule in OTL

    Hi,
    i have created custom validation for time entry rules. I need to validate where Project and task fields are null or not? If Yes, it has to fire the custom message that i have mentioned in function. Please check the below code and help me whether i am on right path:
    CREATE OR REPLACE FUNCTION NON_pto_against_projects (
    p_time_category_id NUMBER,
    p_person_id NUMBER
    RETURN VARCHAR2
    IS
    --Variables used for retrieving timecard id and ovn
    l_db_pre_period_start DATE;
    l_db_pre_period_stop DATE;
    l_time_building_block_id hxc_time_building_blocks.time_building_block_id%TYPE;
    l_object_version_number hxc_time_building_blocks.object_version_number%TYPE;
    --Variables used for loading timecard tables
    l_time_building_blocks hxc_self_service_time_deposit.timecard_info;
    l_time_app_attributes hxc_self_service_time_deposit.app_attributes_info;
    l_attributes hxc_self_service_time_deposit.building_block_attribute_info;
    --Variables used for getting exploded time details
    v_blocks_tab hxc_block_table_type;
    v_attr_tab hxc_attribute_table_type;
    l_messages_tab hxc_message_table_type;
    l_detail_blocks hxc_self_service_time_deposit.timecard_info;
    l_detail_messages hxc_self_service_time_deposit.message_table;
    CURSOR csr_category_elements (p_category_id NUMBER)
    IS
    SELECT 'ELEMENT - ' || TO_CHAR (value_id) element_type_string
    FROM hxc_time_category_comps_v
    WHERE time_category_id = p_category_id;
    l_cat_elements_string VARCHAR2 (2000);
    l_temp VARCHAR2 (1000); --Trace message
    l_success_flag CHAR (1); --Return values
    BEGIN
    --Initialize variables
    l_success_flag := 'S';
    l_time_building_blocks := hxc_self_service_time_deposit.get_building_blocks;
    l_attributes := hxc_self_service_time_deposit.get_block_attributes;
    v_blocks_tab :=
    hxc_deposit_wrapper_utilities.blocks_to_array (l_time_building_blocks);
    v_attr_tab :=
    hxc_deposit_wrapper_utilities.attributes_to_array (l_attributes);
    IF v_blocks_tab.FIRST IS NOT NULL
    THEN
    Take each ELEMENT type attribute, and search whether PROJECTS type attribute exists for the SAME BLOCK-START
    FOR index1 IN v_attr_tab.FIRST .. v_attr_tab.LAST
    LOOP
    IF v_attr_tab (index1).attribute_category = 'ELEMENT - %'
    THEN --Element attr
    FOR element_rec IN csr_category_elements (p_time_category_id)
    LOOP
    If Element Attribute matches any of the NON-TOP elements in the Time Category-START
    IF v_attr_tab (index1).attribute_category =
    element_rec.element_type_string
    THEN
    Check PROJECTS Attributes project and task belonging to ELEMENT attribute's owner block-START
    l_success_flag := 'E';
    FOR index2 IN v_attr_tab.FIRST .. v_attr_tab.LAST
    LOOP
    IF v_attr_tab (index2).attribute_category LIKE
    'PROJECT - %'
    AND v_attr_tab (index2).building_block_id =
    v_attr_tab (index1).building_block_id
    AND v_attr_tab (index2).attribute1 IS NOT NULL
    AND v_attr_tab (index2).attribute2 IS NOT NULL
    THEN
    l_success_flag := 'S';
    EXIT;
    END IF;
    END LOOP;
    IF l_success_flag = 'E'
    THEN
    RETURN 'E';
    END IF;
    Check PROJECTS Attributes project and task belonging to ELEMENT attribute's owner block-END
    END IF;
    If Element Attribute matches any of the NON-TOP elements in the Time Category-END
    END LOOP;
    END IF; --Element attr
    END LOOP;
    Take each ELEMENT type attribute, and search whether PROJECTS type attribute exists for the SAME BLOCK-END
    END IF;
    RETURN l_success_flag;
    EXCEPTION
    WHEN OTHERS
    THEN
    RAISE;
    END NON_pto_against_projects;

    INPUTS ARE resource_id (number)
    , submission_date (text)these inputs are passed in PLSQL Code and some of them in formula context
    2. While we define a new context for a time entry rule. How is the data that we enter in the time entry rule passed to the fast formula?See the time Rule entry screen and you will find the parameters window there.

  • Any tool to upload data to Fast entry (pa42) infotype

    Hi all,
    is there any tool like LSMW to upload data for Fast entry actions infotype?
    Regards,

    Hi dear Kavitha,
    U can use S-CAT and BDC for that.
    BDC u can record at transaction code SHDB.
    Make a template for the same and uplaod.
    (ABAPer Help is required fopr BDC though its a small task if u understand the same)

  • Fecthing custom dates from custom ODS

    hi,
    I have a custom calendar ODS which hascorresponding custom dates for a given date such as:-> week in year, week in month, day in month and also i have a flag which has a unique value for every week.
    Now I have loaded all these data in the cube by looking up into this ODS for all the records corresponding to their dates.
    Now while executing a report on that cube. I want to fetch the value of flag for the current system week.
    Means according to todays date i want to get the flag value.......PLease tell me how to go about the problem...or tell me if you want more details..
    Thanks a lot in advance.

    Hi,
    Try this code.
    DATA: L_S_RANGE TYPE RSR_S_RANGESID.
    DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
    DATA : ZDATE LIKE SCAL-DATE.
    CASE I_VNAM.
    WHEN 'ZTVDAY'. 'VARIABLE FOR your Flag IO
    IF i_step = 1.
    ZDATE = sys-datum.
    Select single flag from /bic/odsname00 where /bic/date = zdate.
    IF sy-subrc EQ 0.
    l_s_range-LOW = flag.
    ENDIF.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    APPEND l_s_range TO e_t_range.
    ENDIF.
    ENDCASE.
    Lemme this works..
    Regards,
    San!

  • Nested routings and Custom Data

    Hi,
    I am working and testing different solutions with Nested Routings.
    For normal operations in a routing I can add Custom Data for each routing step.
    However when I add a special routing as a nested routing within my routing I can not add Custom data
    for this routing step.
    Are there any workarounds available? Am I  doing it the wrong way?
    Br,
    Johan

    Hi Johan,
    I would suppose that nested router is not treated as a router step but rather as a link to that router because there is no actual activity done at the step-link but rather at the actual steps of the nested router. So, if you can assing Custom Data to nested NC router but can't for Special router, then it is probably a bug. Otherwise, my guess is true and you can't assign Custom Data to step-link at all.
    Regards,
    Sergiy

Maybe you are looking for

  • PowerMac G5 Dual 2.0 Chimes but no video

    Just received a old PowerPC G5 2.0GHz Dual Processor. When i tried to power it on, the Power LED came on as usual and the G5 chimes, but it didnt display any video on the screen. None of the diagnostic lights display red, heres what i've done - Resea

  • 11" MBA - want to point iTunes to EX HD

    I just purchased an 11" MBA and am trying to point iTunes to a collection of music files stored on an external hard drive but have not been successful after trying a few tips found on the internet.  I have never stored music files on the MBA HD.  Any

  • Blackberry 10 Software Update Takes Too Long

    I started updating through my computer a couple hours ago, and it downloaded the update normally, but when it started installing it, it remained at 1% for over an hour. Is this a glitch, or what?

  • Finding all assets in a movie

    Is there any way to see where all instances, movie clips, buttons, etc. are used in a movie? Sometimes I see a reference in AS and I think it would be easy to just have some sort of directory so when I see an asset linked, I can easily find where it

  • Photoshop CC Not Remebering Brush Preset Color

    Hi everyone, im having an issue with CC with my brush presets not remembering the color.  I've created 4 brush presets (see pics for settings) of which i checked on the "Include Color" to include the default black & white for every brush preset. asid