Expand my Community achievements bar.

Kevin_Cavallo
Kevin_Cavallo
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  •      var result = parseInt(Subform1.Question1.rawValue) + parseInt(Subform2.Question2.rawValue);Since the values returned from the radio button groups are strings, you need to convert the values to an integer using parseInt() before you can add them.However: be careful where you are doing the calcul...

    Type

    Questions

    Views

    1.1K

    Likes

    0

    Replies

    0
  • Drop-down lists work a little differently than expected; in the Change event the rawValue contains the previously selected text.  That's why it works the second time.  The current selection is contained in: xfa.event.newText

    Type

    Questions

    Views

    611

    Likes

    0

    Replies

    0
  • Thanks Hodmi, exactly what I needed.

    Type

    Questions

    Views

    473

    Likes

    0

    Replies

    0
  • I'm looking for a way to export a PDF to a TIF image.   In the LiveCycle Administration Console I can use the export PDF function under PDF Generator ES and specify TIF as an output format.  However, in the ExportPDF2 service, TIF is not one of the available export formats.  Anyone know how to speci...

    Type

    Questions

    Views

    1.1K

    Likes

    0

    Replies

    2
  • Just append '%' to your format string.  For example:num{z9.zz'%'}

    Type

    Questions

    Views

    638

    Likes

    0

    Replies

    0
  • Looking back at the posts, Steve's example actually had it in the exit event but it's easy to overlook.  Glad it worked out for you.

    Type

    Questions

    Views

    857

    Likes

    0

    Replies

    0
  • How about putting your script in the exit event rather than the click event.  The click will fire when you enter the field (assuming you click with the mouse), before the text is entered, then not fire until you click on the field again.  Exit will fire when you leave the field after entering the te...

    Type

    Questions

    Views

    837

    Likes

    0

    Replies

    0
  • I'm not sure how your form is set up, but generally when the user is entering data, the practitioner choice will be selected from a drop-down list that is populated from the practitioner table.  The id from the choice is then used in the insert into the ems table.  That way only existing ids will be...

    Type

    Questions

    Views

    964

    Like

    1

    Replies

    0
  • You are trying to add a record that references a practitioner who's ID is 1, but there is no entry in the practitioner table with that ID. Your emr table has a constraint that says that any practitioner that you reference (via practitioner_idPractitioner) must exist in the practitioner table.  If th...

    Type

    Questions

    Views

    945

    Likes

    0

    Replies

    0
  • That's sort of the scheme I used.  Instead of using a spacer subform I changed the margin.topInset of the footer section to push it down. However, for reasons that I can't recall right now, there was a need to do an xfa.layout.relayout() after changing the footer parameters.  Unfortunately this will...

    Type

    Questions

    Views

    1.0K

    Likes

    0

    Replies

    0