Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Geckoz100
Geckoz100
Offline
  • 16-06-2016
    Thanks, Radzmar, it works! But there's one little issue -- if I press the Backspace key to make a correction, or even type in any other letters, it adds another "@domain.com" with every keystroke. The only way I have found to get around it is to manually select the entire portion containing all the ...

    Type

    Questions

    Views

    5.0K

    Likes

    0

    Replies

    0
  • 14-06-2016
    Hi all,In addition to my question above, I have another: I have an e-mail field where all users will be entering the same domain after the "@". Is there a way to automatically replace the "@" with "@domain.com"? I have used the code below (and other variations of it, using quotation marks, etc.) and...

    Type

    Questions

    Views

    5.1K

    Likes

    0

    Replies

    0
  • 13-06-2016
    I know this thread is old, but just for future visitors.....If you want to require one of two checkboxes be marked before submitting, you can simplify the above with code like this in the "dummy" button. The "dummy" button should be visible, "Regular" control type, and contains the script. The "real...

    Type

    Discussions

    Views

    6.2K

    Likes

    0

    Replies

    0
  • 10-06-2016
    I have a travel approval form that has two sections -- Domestic and Foreign. Both sections have many required fields. I set up a radio button at the top to select one of those options, so if the user selects Domestic, I want the Foreign section to disappear completely. The problem I'm having is that...

    Type

    Questions

    Views

    4.8K

    Likes

    0

    Replies

    5
  • 10-05-2016
    I have a travel approval form that has two sections, Domestic and Foreign. I set up the Domestic portion in one subform, the Foreign in another. At the top I have a radio for Domestic/Foreign, so the user clicks one and the unused section is supposed to disappear. The reason I want it to disappear a...

    Type

    Questions

    Views

    1.9K

    Likes

    0

    Replies

    1
  • 03-05-2016
    Hey genel89623801, that did the trick! I had definitely not gotten past the issue and had resigned myself to replacing the ampersand with "and".Using the encodeURIComponent function wouldn't work for me within the body of the e-mail script, though I tried using value, rawValue and full XFA path nota...

    Type

    Questions

    Views

    2.1K

    Like

    1

    Replies

    0
  • 27-04-2016
    That worked like a charm! That's what happens when you learn to script through the school of hard knocks, just fumbling your way through it -- I just had to teach myself javascript, so I never discovered this function before. Really appreciate the help.

    Type

    Questions

    Views

    1.9K

    Likes

    0

    Replies

    0
  • 26-04-2016
    Please see the screenshots for the question/radio button I'm scripting. If "No" is clicked I would like it to delete all rows except the first one. So if the user first clicks Yes, adds a bunch of rows and then clicks No, I want all the extra rows to be deleted. I'm using the script below but it onl...

    Type

    Questions

    Views

    2.3K

    Likes

    0

    Replies

    2
  • 19-04-2016
    Yes, I eventually had to do that. Before the e-mail is generated I just take the value of the department and convert any ampersands to the word "and". They bosses want to keep the "&" in the names in the drop-downs since that's how they're officially written. Thanks again for the replies.

    Type

    Questions

    Views

    2.1K

    Likes

    0

    Replies

    0
  • 15-04-2016
    Radzmar, that sample you provided is amazing, thanks! Your tips and tricks are often found nowhere else.

    Type

    Questions

    Views

    2.4K

    Likes

    0

    Replies

    0
Top badges earned by Geckoz100
Customize the badges you want to showcase on your profile