Rule to Set a Field Value

I'm trying to set a rule based condition to a text field and having issues.
First,Initial,Last
If Initial is empty, Full Name = First Last
Condition: Initial Is Blank
Rule Type: Action
Run These Actions: Show the Value of Field or Formula
fx: concat(First, " ",Last)
Nothing shows up in Full Name (the rule is applied to this field) if I have a letter in Inital or not.
InfoPath 2013

Hi
you need to set your rules out differently
i.e.
if First is not empty then set full name to be First + Last
if Initial is not empty then set full name to be Initial + Last
Regards
Sergio Giusti Sergio Blogs
Linked
In Profile
Whenever you see a reply you think is helpful, click Vote As Helpful.
Whenever you see a reply you think is the answer to the question, click Mark As Answer.

Similar Messages

  • When I try to access iTunes or safari, I get the following message:The procedure entry point QTCF_CFHTTP message set header field value could not be located in the dynamic link library QTCF.dll  I uninstalled and reinstalled.same result HELP!

    When I try to access iTunes or safari, I get the following message:The procedure entry point QTCF_CFHTTP message set header field value could not be located in the dynamic link library QTCF.dll  I uninstalled and reinstalled.same result HELP!

    Taken at face value, you're having trouble with a QuickTime program file there.
    Let's try something relatively simple first. Restart the PC. Now head into your Uninstall a program control panel, select "QuickTime" and then click "Repair".
    Does the repair go through okay? If so, are you able to launch iTunes and/or Safari now?

  • Set External Field Value by Workflow

    Is there any way to Set External Field Value by SPD 2013 workflow?

    Hi j.kiani,
    According to your description, my understanding is that you want to update an external column in a list by SharePoint workflow.
    I did a test:
    Create a list with an external column
    Create a workflow , and add ‘Set Field in Current Item’ action, select the field is the external column, set the value to a value from the External Content type data source
    Publish the workflow and start it on an item
    The external column was changed to the value that I set in workflow. However, when I refreshed the external column by clicking the ‘sync’ flag, the data was changed to the old value.
    I used ‘Update ListItem’ action, the result was same
    It seems that there is not an OOB way to change external column with SharePoint workflow. You can change the external column by SharePoint web OOB way (Editing item) .
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Setting default field values for multi-line text fields in lists?

    For the multiple lines of text field in a list, I'm using SharePoint Designer 2013 to set a default
    value for the field, but I need that default value to include rich text formatting (the default value includes a formatted table). Is this possible without having to delve into JavaScript? And if so, how?

    Yes, we can :)
    You can do it with powershell
    $web = get-spweb <yourweb>
    $list = $web.lists["<yourList>"]
    $field = $list.fields["<yourField>"]
    $field.DefaultValue = "place your html code here"
    $field.update()
    hope that helps

  • How to get-set Hidden field value from JSP ?

    Hii,
    I am quite newbie about jsp and looking for some help..
    I have several url links on my jsp page.
    I when I click one of them, I want to reload my page with new request parameter(s) but also keep the older one(s) in hidden field(s)...
    but I dont know how to set and get hidden field value "syntax" and I am not sure about where/when should I do this... at first I though that I can do it in "onClick" property of url..
    Thanks..

    Hy,
    I have a problem just like that. I am trying to send the value of an subdomain is to another page to be able to modify an entry.
    So in listsubdomains.jsp I have
    <input type = "hidden" name = "subdomainid" value="<%=subdomains.SubdomainID%>"><%=subdomains[i].SubdomainID%>.
    This shouls send the id of the subdomain.
    I an sending this to modifysubdomain.jsp with <form name = "listsubdomains" method = "post" action = "modifysubdomain.jsp">
    and there I retrieve the value like this:
    Integer id = new Integer (request.getParameter("subdomainid"));
              out.println(request.getParameter("subdomainid"));
    My problem is that no matter what is the value I chose to modify it always sends the first value. If I another value manually it works, but just then.
    Please give me some ideas.

  • How to set hidden field value in form?

    I've encountered a problem while developing a forum using JSF. See this code:
    <h:form id="commmentForm" formName="commentForm" >
         <h:input_hidden id="pageId" valueRef="CommentBean.pageId" value="${article.id}"/>
         <h:input_text id="userName" valueRef="CommentBean.userName"/>
         <h:input_text id="userEmail" valueRef="CommentBean.userEmail"/>
         <h:input_text id="userURL" valueRef="CommentBean.userURL"/>
         <h:input_textarea id="content" valueRef="CommentBean.content"/>
         <h:command_button id="submit" label="Leave A Comment" commandName="submit" actionRef="CommentBean.createAction" />
    </h:form>
    I was trying to specify a hidden field that represents the unique ID number of the current article using <h:input_hidden> tag above. But RI complains that runtime expression is not permitted in 'value' attribute. So I set the attribute 'value' to arbitrary number such as '2', but it seems that CommentBean.pageId is still null.
    So the question is:
    1. Why can't I use EL in JSF tags attributes?
    2. How can I resolve my problem mentioned above?
    Thanks very much in advance!

    To solve the problem, you have to use two hiddenfields, say:
    <h:input_hidden id="pageId"valueRef="CommentBean.pageId" />
    <h:input_hidden id="articleId" valueRef="article.id"/>
    I want to set the value of CommentBean.pageId to
    ${article.id} (article is not a managed bean) and to
    let CommentBean.createAction insert a database row
    whose page_id column is ${article.id}, so I think the
    tags you suggested won't work for me.Why can't you interrogate your ComponentBean for its pageId property during your invoke() method? By the time your invoke() method is called, the value from the hidden field will have been pushed to the model, so this should be no problem. You could do Application.getValueBinding("ComponentBean.pageId").getValue() to do so.
    Ed

  • Dynamically set report field value

    In my old classic VB project, I was able to set a report field value using the following simple line of code.
    someReport.SomeField.SetText u201Cabcu201D
    This was nice and simple, now with crystal reports .Net I do the following:
    ((TextObject)someReport.SectionX.ReportObjects["SomeField"]).Text = u201Cabcu201D;
    Itu2019s simple enough but seems too elaborated compared to the good old VB6.
    Not that is a big deal but is there a simpler way (Classic VB6 style) to set a field on a report without me having to create my own utility method to u201Csimplifyu201D things?
    Thanks.

    Perhaps using a formula?
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Public Class Form1
    Inherits System.Windows.Forms.Form
    Dim Report As New CrystalReport1()
    Dim FormulaFields As FormulaFieldDefinitions
    Dim FormulaField As FormulaFieldDefinition
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    FormulaFields = Report.DataDefinition.FormulaFields
    FormulaField = FormulaFields.Item(0)
    FormulaField.Text = "[formula text]"
    CrystalReportViewer1.ReportSource = Report
    End Sub
    Other than that, InProc RAS, but if the solution you have is complicated, you ain't seen nothing yet
    - Ludek

  • Set the field value, call transcation T-CODE in CRM

    Hello
       I face the proble as follow: select the field into the itab,and set the field itab-field to call transcation T-CODE in CRM.
       exp:call T-CODE:"CRMD_BUS2000111". when I execute the program, display the opportunity value screen, not the init select&result screen.
    Thanks!

    Please reward and close your other post regarding a similar problem.
    If you don't want the initial screen, you have fill the BDC data for the initial screen and then call the transaction with mode 'E'. I gave the same solution to your previous question.

  • Set lookup field value based on another lookup field using Infopath 2010 rules

    Hello,
    I created 3 lists in SharePoint 2010: Lists A, B and C. The lists B and C where create to work as a drop-down fields in List A. My question: How to I set field C automatically based on what is selected on field B using Rules in Infopath 2010?
    I don't know what to put in the third field:
    Thanks,
    Elvis

    It looks like you edited the question since you first asked it. When I posted my first answer, there were no screenshots in your question and it was not easy to figure out what you want to achieve.
    I asked for clarification. You did not reply to my post.
    Instead it seems that you edited your question and added more detail. This is good, because it helps people to understand what you are asking.
    But when you change a post (YOUR QUESTION) that others have already replied to, you must acknowledge these replies and let people know that you are posting new information.
    In this forum, people get emails when there are new replies to a question. That's how I found back to this thread. I do not get an email if you edit your question to add more information. 
    So, don't be surprised if you edit your question and people still don't respond. The people why have already replied to your question will not be notified if you make changes to your original question. 
    If you want to make sure that everybody who is interested in your question gets notified about new information, please add the information in a new comment to the question, or edit the question and then post a new comment "I added more details".
    This way, everybody already subscribed to your question will be notified about the new content and can help you find a solution. 
    cheers, teylyn

  • How to set default field values in customer master data.

    hi,
    I want to set default values in customer master data (account group wise).
    but
    I don't know how to set it .
    please help me.
    (I don't want to change field status in account group rather than I want to set default values for field. )
    thank you.

    hi,
    this is to inform you that,
    in SAP there is no such a provision.
    but
    in LSMW there is an option of CONSTANT VALUES.
    check in SHD0 - also
    please check and confirm
    balajis\a

  • Set Date field value through Form datasource

    Hello all,
    Has anyone set the value of a field of type Date through the form's datasource?
        If (Not Entrega = Nothing And NrDias > 0) Then
            Entrega = Entrega.AddDays(NrDias)
            ds.SetValue("U_data", ds.Offset, Entrega)
        End If
    End If
    If I change the field to a text field it write to the datasource and display no problem.
    Any ideias?
    Best regards.

    Ups,
    Found it.
    ds.setValue("U_dataent", 0, Entrega.ToString("yyyyMMdd"))

  • Set Geolocation field value in SPD workflow

    Hi,
    How can I set the new geolocation field in a SP2013 list from a SPD list workflow?  I've tried 'Set Location to Point([%Variable: X%] [%Variable: Y%])' hoping that a string would work but this fails.
    Thanks in advance

    Hi,
    I'm using a SPD 2013 list workflow.  The field to be set is the new Geolocation field in 2013 (see http://msdn.microsoft.com/en-us/library/jj164050.aspx ).  My reference
    to the variable X and Y was an attempt to construct a string to populate the Geolocation field using the 'raw value' method B described in the web page.  I would not be able to test with 2010 as it does not have the Geolocation field.
    The workflow gets suspended with the following error message;
    RequestorId: 91adda23-7a37-d55f-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 400 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["39"],"SPRequestGuid":["91adda23-7a37-d55f-b0ce-7a87af2020c9"],"request-id":["91adda23-7a37-d55f-b0ce-7a87af2020c9"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4454"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Mon, 08 Apr 2013 04:16:46 GMT"],"P3P":["CP=\"ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI\""],"Server":["Microsoft-IIS\/7.5"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}
    at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) in d:\bt\103818\private\source\WF\Microsoft.Activities.Hosting\Microsoft\Activities\Hosting\Runtime\Subroutine.cs:line 282 at System.Activities.CodeActivity.InternalExecute(ActivityInstance
    instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

  • How do I SET a Field value to current datetimestamp in an UPDATE

    The following is my UPDATE SQL. FIELD10 is defined as TIMESTAMP(6) and I want to update the value to the current system TIMESTAMP for each record with FIELD01 = "PENDING". I have tried several different date formats but nothing is working. What is the correct way to update FIELD10 to the current system datetimestamp.
    The following does not work, what is the correct SQL script.
    UPDATE DB01.TABLE1 SET FIELD10 = SYSTIMESTAMP WHERE FIELD01 = "PENDING"
    So far all the variations of defining the current date and time in FIELD10 gives me the following error.
    Error starting at line 1 in command:
    UPDATE DB01.TABLE1
    SET FIELD10=SYSTIMESTAMP
    WHERE FIELD01='PENDING'
    Error at Command Line:2 Column:4
    Error report:
    SQL Error: ORA-00904: "FIELD10": invalid identifier
    00904. 00000 - "%s: invalid identifier"
    *Cause:   
    *Action:
    Edited by: user12555026 on Feb 3, 2010 6:33 AM
    Edited by: user12555026 on Feb 3, 2010 6:34 AM
    Edited by: user12555026 on Feb 3, 2010 6:35 AM

    Hi,
    user12555026 wrote:
    The following is my UPDATE SQL. FIELD10 is defined as TIMESTAMP(6) and I want to update the value to the current system TIMESTAMP for each record with FIELD01 = "PENDING". I have tried several different date formats but nothing is working. What is the correct way to update FIELD10 to the current system datetimestamp.Post CREATE TABLE and INSERT statements for the table. (1 or 2 rows is probably enough).
    The following does not work, what is the correct SQL script.
    UPDATE DB01.TABLE1 SET FIELD10 = SYSTIMESTAMP WHERE FIELD01 = "PENDING"If 'PENDING' is the value that may be in field01, then it should be in single-quotes, not double-quotes.
    So far all the variations of defining the current date and time in FIELD10 gives me the following error.
    Error starting at line 1 in command:
    UPDATE DB01.TABLE1
    SET FIELD10=SYSTIMESTAMP
    WHERE FIELD01='PENDING'
    Error at Command Line:2 Column:4
    Error report:
    SQL Error: ORA-00904: "FIELD10": invalid identifierApparantly, there's no columns called field10 in that table. Are you user db01? Are the column names all upper-case? This is why you have to post the CREATE TABLE statement.

  • Run workflow when a new item is added and set a fields value

    we require a workflow which should run when a new item is added to the form library(infopath)  and should update the value of a field "title" with the filename(eg:111.xml).
    Please let us know, how we can accomplish it.
    Thanks,
    Zedprog
    My blog: http://sharepointr.com - ZedProg Profile

    Hello,
    You need to use "Update List Item" action to update any item in list/library. Refer this link for sample:
    http://3sharp.com/blog/updating-list-items-with-sharepoint-designer/
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • HELP - i can't set field value in a form

    Hi,
    I created a form based on a stored procedure.
    I try to set a field value on this form( the name of the item in the wizard is 'P_GG') from the advanced PL/SQL SECTION in the wizard, and, for exact, in "... before displaying the page..." i wrote:
    p_session.set_value(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_P_GG',
    p_value => '20');
    But when I run the form the field is blank
    Thank for everyone reply and help me.
    Simone Mancino

    Dmitry,
    thank u for your reply.
    I tried your solution, but there is another problem. I specified a default value for the form, using the syntax "#myfunction()".
    The first time I run the form, i get the correct value. But whenever i run the form again in the same session, I always get the FIRST value: it looks like the function is not evaluated again. For example, suppose the function is
    return to_char(SYSDATE, 'SS')
    (just to have a random dynamic value);
    you always get the value of the first run, even if you refresh the page.
    Regards
    Simone

Maybe you are looking for

  • Sum of void and normal payments in Etext for Positive Pay

    Hi Have a question on EText My situation is that For example, i have the following amounts(issuin checks) 100 200 300 When I void 100$ total will be 500 In oracle When we void it wont get a -100 amount.XML TAG SHOWS only +100. This is the issue..How

  • Downgrading to Tiger from Leopard on a mac mini 2.0ghz

    I just purchased a mac mini 2.0ghz that came with Leopard. Since I am relatively new to the MAC world, I assumed that I could immediately replace Leopard with Tiger on the HD using a set of mac mini install discs I had previously purchased on eBay (I

  • Import/Export from Unix

    hi, there, i just got a problem in exporting my database from unix. the account that i got is from my client, and so i can login as a regular user only. my story is, i'm now using unix to access the oracle, but i can't do any exporting action, i got

  • The redirect problem in wap

    I have three pages:input.jsp save.go and list.jsp --------input.jsp. users input some thing in it,and there is a submit button on it. the button linked to "save.go" --------save.go save.go is a servlet in fact.it will save what the user submited and

  • OK, I give up.  Where is the hot key to download the new OS Lion?

    OK, I give up.  Where is the hot key to download the new OS Lion?  I have looked on all the pages and can't seem to find it.