Expand my Community achievements bar.

Archyron
Archyron
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • If you're trying to enter a date I don't see why you would want to use a text field over a date field. However, if you absolutely need a text field you could use regex in the validate event like so:if (!(this.isNull || this.rawValue.length == 0)) {  //Test for MM/DD/YYYY format  var pattern = new Re...

    Type

    Questions

    Views

    4.0K

    Likes

    0

    Replies

    0
  • Use the validation pattern: date{MM/DD/YYYY}

    Type

    Questions

    Views

    4.0K

    Likes

    0

    Replies

    0
  • In case anyone has the same problem here is the solution. Used the content stream versus the Doc object.//Attach documentsif (doc.dataObjects) {     doc.dataObjects.forEach(function(attachment, i, a) {          var contentStream = doc.getDataObjectContents(attachment.name);          reportDoc.create...

    Type

    Questions

    Views

    2.2K

    Likes

    0

    Replies

    0
  • No you should be fine there. I believe I misinterpreted your intent from your code... This is the code you want to use: if (this.rawValue == 1)  {     this.resolveNode("RAConcur.Comments").presence="visible";}Just make sure you place the code into the change event of your radio button and that the v...

    Type

    Questions

    Views

    4.7K

    Like

    1

    Replies

    0
  • You are missing your semicolons.var choice = this.resolveNode("RAConcur.Comments").rawValue;if (choice == 1)     this.presence = "visible";Livecycle is a poor place to learn proper javascript syntax as it is not a proper editor. Try some quick online courses to get some of the basics down and I can ...

    Type

    Questions

    Views

    4.7K

    Likes

    0

    Replies

    0
  • I have a database connected XFA form that opens and fills out a separate 'report' form before sending it to the client via email. The issue i'm having is trying to transfer over all PDF attachments to the report form so that they get sent along with the report form.var doc = event.target;var reportD...

    Type

    Questions

    Views

    2.5K

    Likes

    0

    Replies

    1