Expand my Community achievements bar.

DrDave6
DrDave6
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Hi Niall,It looks as though Marcel's validate routine would be the simpliest code to execute and manage. I just need to get the syntax correct so that it works.Thank you for your idea.

    Type

    Questions

    Views

    1.1K

    Likes

    0

    Replies

    0
  • Thank you Marcel -- this LOOKS like we are on the right track.I pasted the code into the validate event, using FormCalc and got this error:Error:syntax error near token "Value" on line 1, column 20When I put the real name of my field in the function, column 20 refers to the end of the first "value."...

    Type

    Questions

    Views

    1.1K

    Likes

    0

    Replies

    0
  • This is helpful. Thank you.I'm using an imageField called dhImage. What would the JavaScript look like for checking the image size (needs to be less than 1MB) and then alerting the user if it's over?I'm sure the script is stright-forwrd, but I'm a newbie and would appreciate your help.Would I put th...

    Type

    Questions

    Views

    1.1K

    Likes

    0

    Replies

    0
  • Is there a way for me to know how large (in Bytes, etc) an image is within an imageField?Right now users can only insert images that are less than 1MB and I need to know how to test for that.All feedback is appreciated.

    Type

    Questions

    Views

    3.0K

    Likes

    0

    Replies

    10
  • Hi Steve,The relayout() still didn't work. I'm wondering if this did not work because of how I was referencing the my field.As you have seen from my previous post, the following worked.xfa.resolveNode("NA-Image-1").rawValue = null;Thank you for your help.

    Type

    Questions

    Views

    836

    Likes

    0

    Replies

    0
  • Thank you Niall...this worked great.

    Type

    Questions

    Views

    790

    Likes

    0

    Replies

    0
  • Niall,The Save-As Dynamic worked. Thank you.I must say that I'm not comfortable converting my form to a dynamic one. I do remember reading a while ago that there are differences between static and dynamic forms, so I don't want to get "bitten later."Is there a way of handling this within a static fo...

    Type

    Questions

    Views

    790

    Likes

    0

    Replies

    0
  • Hi Niall,Interesting that you have ALL the form-related information! lol Thank you for the suggestion. I put this JavaScript code into the mouseUp event and I don't get an error, but the images does not disappear either.Thoughts?

    Type

    Questions

    Views

    790

    Likes

    0

    Replies

    0
  • Hi Steve,Thank you for the quick feedback...appreciate that.Your suggestions assumes (I think) that the imageField is the current field and that will most likely not be the case.If I have a separate button called "Remove Image" I thought I could put some javascript in the mouseUp event that went som...

    Type

    Questions

    Views

    790

    Likes

    0

    Replies

    0
  • I currently have a button that allows a user to add an image to an ImageField...using LCD 8.xOnce the user add an image into the field, there is no way for them to remove it. I therefore need to add a "Remove Image" button.What would I need to do to clear out the ImageField, which is called myImage?...

    Type

    Questions

    Views

    2.0K

    Likes

    0

    Replies

    10
Top badges earned by DrDave6
Customize the badges you want to showcase on your profile