Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I need the Name field to be based on many values in the form. I had rules on the Name field itself, and anytime one of the form field changes it set Name to " " and then back to "" in order to 'trigger' Name to use the rules on itself to update. Is this the best approach?

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

I just use a rule to set a field value on the submit button prior to submitting the data to Sharepoint. This builds a field that I then use as the fielname in the data connection.

share|improve this answer
add comment

I used a bit of Jquery recently to be triggered on the submit e.g. "uploaddocuments()":

<script language="javascript" type="text/javascript">

  var $j = jQuery.noConflict(); 

  function UploadDocuments() { 
   var a = $j(":input[title='a']").val(); 
   var b = $j(":input[title='b']").val();
   var c = $j(":input[title='c']").val();
   $j(":input[title='Name']").val(a + ' - ' + b + ' - ' + c );    
   return true;
  }

</script>
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.