Alpha Video Training
Results 1 to 4 of 4

Thread: Inserting integer field into email using Send Email Javascript

  1. #1
    Member
    Real Name
    David Fricke
    Join Date
    Sep 2011
    Location
    Kenosha, WI
    Posts
    437

    Default Inserting integer field into email using Send Email Javascript

    I have a project that sends a customer a custom email when I click on a button using the onClick event Javascript Send Email feature. I have inserted Placeholders from the database into this email. Everything has worked just fine until now. It appears that an int field in my SQL Database will not pass the variable into the email. The varchar fields pass just fine along with others.

    The 'int' field is called ID and it is available in the list of Available Placeholders.

    This worked last April. I have not messed with any programming since then with this project and have applied all updates since then. Is there a different way to insert an 'int' field? Or does anyone else have this problem? Or did I just find a bug?

  2. #2
    VAR Pat Bremkamp's Avatar
    Real Name
    Pat Bremkamp
    Join Date
    Apr 2000
    Location
    Oregon, USA
    Posts
    2,645

    Default Re: Inserting integer field into email using Send Email Javascript

    You might try setting the field as concat("",your field) as myfieldasC to convert it to character before inserting.
    Pat Bremkamp
    MindKicks Consulting

  3. #3
    Member
    Real Name
    David Fricke
    Join Date
    Sep 2011
    Location
    Kenosha, WI
    Posts
    437

    Default Re: Inserting integer field into email using Send Email Javascript

    Thanks Pat. Where would I put that?

  4. #4
    Member
    Real Name
    David Fricke
    Join Date
    Sep 2011
    Location
    Kenosha, WI
    Posts
    437

    Default Re: Inserting integer field into email using Send Email Javascript

    I guess the real question is, can you still include an integer field in the emails? It appears to not be including any integer field with any of the scripts I have. This did work prior to 4/2012, but now does not work. Bug or code change? Alpha? Anyone?

Similar Threads

  1. Get email value from table to send confirmation email
    By RobPolley in forum Application Server Version 10 - Web/Browser Applications
    Replies: 1
    Last Post: 04-20-2012, 01:13 PM
  2. Email issue - send to email button not showing
    By lgrupido in forum Application Server Version 10 - Web/Browser Applications
    Replies: 0
    Last Post: 04-17-2012, 05:02 PM
  3. send email to currentform.controls.email
    By patbennett in forum Application Server Version 9 - Web/Browser Applications
    Replies: 4
    Last Post: 08-26-2009, 09:22 PM
  4. Email will not send on hosted Application Server. Email Profile name?
    By iviowa in forum Application Server Version 9 - Web/Browser Applications
    Replies: 4
    Last Post: 11-17-2008, 07:50 PM
  5. Replies: 2
    Last Post: 06-05-2006, 07:58 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •