REQUIRED INPUT

The bellow sting does not work. Does anyone know of a way to
create validation without using CFFORMS?
<td align="left" ><input type=text name="PNSTATUS"
REQUIRED="Yes" MESSAGE="Status Block is Required" SIZE=75
MAXLENGTH="100" COLSPAN="2">
</td>
Gunner George
Please Help!

George,
To create validation (client-side that is) without cfform,
you would need to write some JavaScript code to check for a form
field, look at its value and act accordingly.
However, if the above is actually a snippet of your code,
there is a reason why it is not working with cfform. Your input tag
needs to be cfinput.
This:
<input type=text name="PNSTATUS" REQUIRED="Yes"
MESSAGE="Status Block is Required" SIZE=75 MAXLENGTH="100"
COLSPAN="2">
Should be:
<cfinput type=text name="PNSTATUS" REQUIRED="Yes"
MESSAGE="Status Block is Required" SIZE=75 MAXLENGTH="100"
COLSPAN="2">
By using cfinput, the cfform will then analyze the required
and message attributes and provide you with the client-side
validation you are looking for.
Cheers,
Craig

Similar Messages

  • A required input parameter could not be read

    Hi
    I'm experiencing a random problem with my e-mail account. Before moving everybody into using this mail server, I believe I should understand how to fix this problem. Here I go. Last Friday, everything was working properly with my e-mails. However, this morning, I cannot connect to the mail server anymore (using SSL and Kerberos). I looked at the logs and this is what I see:
    Jan 18 08:47:43 xs1 dovecot[68]: auth(default): gssapi(?,192.168.0.170): While processing incoming data: A required input parameter could not be read
    Jan 18 08:47:43 xs1 dovecot[68]: auth(default): gssapi(?,192.168.0.170): While processing incoming data: Unknown error
    Jan 18 08:47:43 xs1 dovecot[68]: auth(default): gssapi(?,192.168.0.170): While processing incoming data: A required input parameter could not be read
    Jan 18 08:47:43 xs1 dovecot[68]: auth(default): gssapi(?,192.168.0.170): While processing incoming data: Unknown error
    Jan 18 08:47:43 xs1 dovecot[68]: auth(default): gssapi(?,192.168.0.170): While processing incoming data: A required input parameter could not be read
    Jan 18 08:47:43 xs1 dovecot[68]: auth(default): gssapi(?,192.168.0.170): While processing incoming data: Unknown error
    Anyone ever had this "unknown error”? Is there a known way to fix it?
    Thanks

    Apparently the problem changed:
    Jan 18 09:35:50 xs1 dovecot[68]: auth(default): gssapi(?,192.168.0.170): While acquiring service credentials: An invalid name was supplied
    Jan 18 09:35:50 xs1 dovecot[68]: auth(default): gssapi(?,192.168.0.170): While acquiring service credentials: Hostname cannot be canonicalized
    Jan 18 09:35:54 xs1 dovecot[68]: auth(default): gssapi(?,192.168.0.170): While acquiring service credentials: An invalid name was supplied
    Jan 18 09:35:54 xs1 dovecot[68]: auth(default): gssapi(?,192.168.0.170): While acquiring service credentials: Hostname cannot be canonicalized
    Any idea about that issue too ?

  • Missing required input property error in insert attachment

    Hi,
    Im getting this following error some times not all times when i tring to insert attachment files to campaign object
    <ErrorMessage>Missing required input property &quot;Handle&quot;(SBL-ODS-00242)</ErrorMessage>
    please give some solution
    Thanks,
    Sathis Kumar P

    Do you have the XML request that you are sending?

  • Custom Exit Button not working..looks for required input field on screen?

    I defined this EXIT button as type E in Menu Painter.
    I am using "MODULE At EXIT-COMMAND" in my PAI.
    SAP message still asks for the required input field when I select the function EXIT button?
    The logic still will not break into the At EXIT-COMMAND of my PAI?
       Thank-You.

    Hi
    Have you assigned variable OK_CODE in the list of screen element?
    IF NOT zin_railid is initial.
        LEAVE TO SCREEN 0100.
    ENDIF.
    Which is the sense to create a button for exit-command and doesn't allow the exit if the input field is empty?
    In SE41 I entered "Back" over the back button, "EXIT" over the exit button, and "CANCEL" over the cancel button.
    I selected each one, and got a popup to enter "E" for each type. As I said they appear, but do nothing?
    Did I need to set a status for these?
    No you don't, it's only important to define a functional having the attribute for EXIT-COMMAND
    Max
    Max
    Edited by: max bianchi on Nov 5, 2010 6:31 PM

  • Required input on GUI for HTML vs Windows

    Hi,
    We are now on 7.02 and have seen that a required input field in SAP GUI for HTML is shown as an *, but on SAP GUI for Windows is shown as a checked box icon. Is there a way to make them the same? Our clients run reports in ECC and via the Portal and have complained of the inconsistency.
    Thanks,
    -Kevin

    Hello Kevin,
    you might want to ask this in , which is the forum which is about SAP GUI for Html. That forum is monitored by the resp. developers.
    Best regards
    Rolf-Martin

  • How to set master cost center to required input in the maintaining position

    Dear experts,
             I have two questions in the HCM module,could you please tell me?
    Issue 1: How to set the column of master cost center to required input in the maintaining position screen?
    Issue 2: some of position has two cost center, i have maintained two cost center(cost center 1:90%,cost center 2:10%) percentage in the tab of cost distribution with trasaction code ppome.when i post to accounting,it only post to master cost center 100%,it can not distribute two cost center, Could you please tell me the reason?
    Looking forward to your reply.
    Best regards,
    Merry

    HI,
    Plz check with ur FICO Consultants as master Cost Center r desgined by them
    They will Loop group of Cost Centers to Master Cost Center.
    This concept has started in ECC 6.0 Version 
    Regards,
    Kiran

  • Required input Bug

    When switching an Indicator connected to the Connector Pane to "Control", the new connected Control is not flagged as "Required", even if this is the default option.
    Tested in LV 2013 SP1 64 bits

    X. wrote:
    chembo wrote:
    In most of the cases you will rewire the new control to the connector pane, if the indicator was wired, as usual, on the right side of the connector pane. In this case the rule will apply.
    In the case that triggered this report, I had copied an Indicator from another VI and connected it "to the left" of the connector pane. I noticed the spaghetti plate of wires in the Help window and then changed the Indicator into a Control.
    Maybe that clarifies why the lack of conversion to a "Required" input struck me as, if not a bug, a possible departure from the expectation of a fringe population (of which I might well be the only representative).
    I would say that, in the technical sense, it was expected behavior.  The default trigger, I imagine, is the wiring of the connector; therefore, the default was applied when you wired the connector as an output.  Changing the indicator to a control didn't trigger it because you didn't rewire.
    Now whether or not this is a LOGICAL expected behavior I think is open to debate.  And I have no idea how easy it would be to fix.  I mean the fix is probably easy; chasing down all the ramifications of the fix may not be.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Inspection Type 05 require input purchase order number for rejection

    Hi Experts,
    I have inspection and needed to reject in QA12.
    When inputting the stock posting quantity to return, it prompts the reason for rejection, and required to input purchase order number also.
    Since that is material return from production(inspection type 05) with no purchase order number, where in SPRO I can check the setting of this and disable this?
    Please kindly advise, thanks!
    Regards,
    Daniel

    Hi SujitSND,
    I have some materials in inspection lot which is created from material return in production.
    This lot is rejected by QA and needed to return to production line.
    When inputting the qualtity field RETURN DELIVERY, system forced me to input Purchase Order number which is not available.
    My target is to not needing to input purchase order.
    Regards,
    Daniel

  • 'Plant' field now requires input - why is that?

    Hello all,
    Here is my issue:
    when inputing Vendor Invoice (transaction FB60), the system now requires an entry in the 'Plant' field.
    I am using a regular P&L account which is also a regular cost element
    the context is that some changes are brought in our system - related to other parts of the company.
    a few weeks ago OBYC was apparently changed - I do not know if this is related to the issue above.
    What do you think could have brought the change in the settging and what do you suggest I do to fix?
    I thought the Plant was only for Logistic
    Thanks a lot for your time and patience
    KR - Loï

    Hi,
    the field status group in every account master record can be seen using FS00 / Create/bank/interest. Just double-click the field status group and in the possible groups appearing tick "additional account assignments" to see if plant is a required entry for this field status group or not.
    Also posting keys are using field status groups, check them (T-code OB41).
    Best regrads, Christian

  • Required input parameters to the servvice - Create Production Confirmation

    Hi,
    What are the mandatory input parameters required to test this service successfully. I have tried the web service with a couple of parameters and was unsuccessful.
    Thanks,
    Ajay.

    Hi,
    I would take a look at the <a href="http://erp.esworkplace.sap.com/sap/bc/bsp/sap/z_gdt_catalog/GDTcatalog.pdf">GDT Description</a> to look at clues on how to do this.
    The problem dealing with testing a particular ES is a known one (at least to me) and I was confronted with it while testing ESs dealing with QualityIssueNotifications. Based on my experience with one ES, I added <a href="https://wiki.sdn.sap.com/wiki/display/ESpackages/FindQualityIssueNotificationProductbyElements">usage notes</a> to help others trying to test this ES.
    I am currently writing a blog dealing with this problem and describing suggestions based on my experiences.  I'll post the link when I publish it.
    By the way, the link you mention is to the EsWorkplace itself. Here is the link to the <a href="https://wiki.sdn.sap.com/wiki/display/ESpackages/ConfirmProductionConfirmation">wiki entry</a> which contains no further details.
    It really involves trial and error to discover the correct input parameters. Try and set certain parts of the ES to null. For example, Message header. This sometimes helps.
    Thanks.
    Dick
    P.S. When you do finally solve the problem, then please post your experience in the wiki. It is only if users publish their knowledge that ESs can be successful.

  • How To Create a SubVi and Limit Required Inputs

    Hello,
    Description:
    I have created a VI that reads in voltage values from the NI USB-6008 device. After putting that value into a formula, I compare the new value with an array of data and output a corresponding value (this is not too important for the problem).
    Problem:
    The VI currently works great. My goal is to make it into a SubVi that can read in various channels and output their values. However, when I attempt to make a subVi thourgh Edit>>Create SubVi, the subVi created requires many inputs because of the many controls I utilize in the VI.
    What I want to do:
    Is there any way to use the default values of the controls in the SubVi and not require the user to input each control's value into the SubVi? Or, do I have to change my controls to be constants?
    Any assitance would be greatly appreciated.
    Attachments:
    YSI_R_to_T.vi ‏379 KB

    You don't have to create a subvi by using the Edit - Create Subvi button. Any vi can be a subvi. Go to the front panel, right click on the icon in the top right corner, select show connector. Figure out how many inputs and outputs you want to connect to the main vi. Right click on the connector pane and select Patterns, then the pattern that fits your needs. If you want to have the main send a channel and have the subvi send an output, choose the 4 connector pane pattern. Put Error In and Error Out clusters on your front panel. Wire the channel input control to the top left terminal of the connector pane, the output indicator to the top right connector, the Error In to the bottom left, and Error Out to the bottom right. It is good to use the Error In and Out to indicate errors and to help control execution order through data flow. Save the vi. In your main block diagram, go to functions - Select a VI, and select the vi you just saved, which now becomes a subvi to the main. You can wire a control to the new subvi top left, and so on...
    - tbob
    Inventor of the WORM Global

  • Cfinput required="yes" message="required input field"

    Does anyone have any idea why cfinput tags aren't working?
    What are the possible reasons? I would go through the javascript,
    however I really want to know wny from the coldfusion end it they
    aren't working. Thanks.

    this is a small snippet. Alot of conditional statement.....
    <cfform method="post"
    action="control.cfm?p=surveyloop&questionid=#session.questionidindex#&questiontype=#sessi on.questiontype#">
    <cfif session.questiontype eq "input"><br
    /><br />
    <div align="center"><span
    class="style1">Q:<cfoutput>
    #session.question#</cfoutput></span><strong>.</strong><br
    />
    <br />
    <br />
    <cfinput type="text" required="yes"
    name="questionresponse" message="Your answer is required.">
    <br /><br />
    </div>
    </cfif>
    Thanks for looking over.

  • Change required input fields in XD01

    Hello everyone,
    I am doing development to Enhance transaction XD01. I have one additional button which execute popup window. This window retrieve some data from external system. What I am going to do, is override required (for instance Address) data in program SAPLSZA1 on the screen 301 using data from popup window. I'd achieve this before save Customer data.  Any idea how to overcome it?
    BR
    Mateusz

    Hi
    U can try to use the BADI CUSTOMER_ADD_DATA and/or CUSTOMER_ADD_DATA_CS: these BADIs open new TAB where you can try to manage your issue, else I believe you need to change the std one, but it's dangerous because SAPLSZA1 is central program where all addresses are managed
    Max

  • Required Input fields in ADF form asterix alignment

    Hi All,
    I have a login form with two fields username and password which are both mandatory
    I want to display it like this
    Username * | |
    Password * | |
    when I choose required in the Property window it shows up like this
    * Username | |
    * Password | |
    How do I bring it the asterix to the right of the label. I don't want to change the label value from 'Username' to 'Username *' as a workaround. Also the asterix needs to be red.
    Please suggest
    Thanks

    I don't know of a way to easily (and cleanly) achieve this. Creating a custom component may be one option.
    An alternative is to use a panelLabelAndMessage component (see below). Note that the asterisk is in actuality to the left of the inputText, rather than to the right of the label.
    <af:panelLabelAndMessage label="Username" id="plam1">
    <af:inputText id="it2" required="true"/>
    </af:panelLabelAndMessage>

  • Radio Buttons + Required Input/Output Fields in Dialog Programming

    Hi All,
    Please find the below issue.
    I have 2 Radio buttons
    RB1 and RB2 defined in group RG.
    And by default RB1 is selected.
    I also have 3 Input.Output Fields.
    F1 , F2  & F3.
    Now before displaying the Screen for the end user,
    I need to display as follows:
    A)   
    RB1 = X -
    > Selected.
    RB2  = Space -
    >Not Selected.
    F1 -
    > Visible.
    F2 & F3 -
    >Invisible.
    B)
    RB1 = space -
    > Not Selected.
    RB2  = X -
    >Selected.
    F1 -
    >Invisible.
    F2 -
    >Visible.
    F3 -
    >Visible.
    When i am debugging, the value of RB1 is not X though it is selected on the screen (by default due to Radio Button Group) & hence the below code is not working.
    *_PBO:_*
    LOOP AT SCREEN.
    IF RB1 = 'X' AND ( SCREEN-NAME = 'TXT2' OR SCREEN-NAME = 'TXT3' ).
             SCREEN-INVISIBLE = 1.
    ELSEIF RB1 = 'X' AND ( SCREEN-NAME = 'F2' OR SCREEN-NAME = 'F3 ).
             SCREEN-ACTIVE = 0.
    ENDIF.
    Modify Screen.
    ENDLOOP.
    But when i select RB2 = X on the screen.
    Value is getting populated .
    Waiting for your hints/ideas/suggestions
    Thanks
    Sri.

    Alright, you defined the radio buttons and grouped them. Did you also assign Fcode to the radio button group? if not already assigned the assign something to FctCode to the radio button. If you can double click on one and assign a name, this will automatically assign to other one. If you already did that... just ignore it.
    Next, by defualt, RB1 will not be having 'X' though it shows selected but you can always make it by just writing the following statement in PBO (If you dont want to mislead anybody)
    if RB1 = space and RB2 = space.
      RB1 = 'X'.
    endif.
    If you have already done that the next step would be.... Assign a screen group value to the fields F1, F2 and F3.
    for example, double click on the field F1, add GR1 in groups in first box and do the same for field text/label if any. Same way, assign GR2 to F2 and F3.
    Then add the following code in PBO. (Someone or you can write it better. This is just an example)
      LOOP AT SCREEN.
        if RB1 = 'X'.
           if screen-group1 = 'GR2'.
              screen-input = 0.
              screen-invisible = 1.
           endif.
        endif.
        if RB2 = 'X'.
           if screen-group1 = 'GR1'.
              screen-input = 0.
              screen-invisible = 1.
           endif.
        endif.
        MODIFY SCREEN.
      ENDLOOP.
    Good luck... It is working code.,

Maybe you are looking for