Discussion:
Integrating Javascript Survey Libraries with 4D
Benedict, Tom
2017-02-07 18:45:01 UTC
Permalink
Anyone have experience integrating Javascript Survey libraries with 4D?

Creating and maintaining survey forms in 4D is tedious and time consuming. There are various Javascript libraries available which can generate survey pages on the fly and return results in JSON or XML. They even come with visual editors to create the survey. It seems simple enough, conceptually, to use something like this in a web area inside of 4D.

The use case here is telephone agents using 4D asking someone some screening questions. There may be data in 4D which will inform what survey questions are asked and the domain of possible answers and the result data needs to be stored in 4D.

BTW, I know very little about Javascript and only slightly more about 4D web areas.
I've looked at survey.js and surveyjs.org. It seems pretty full featured.

Anyone done this? Any recommendations? Issues to avoid?

Thanks,

Tom Benedict
Optum
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:4D_Tech-***@lists.4D.com
*************
Keisuke Miyako
2017-02-07 23:15:41 UTC
Permalink
Hello,

perhaps you could check some of the past Tech Note article that deal with the Web Area.

older ones (especially those that tie up with online services) may not work any more,
but there is a lot you can learn from the discussion as well as the demo.

15-01Camera Interface - RevisedVance Villanueva
14-09Web Area InspectorTimothy A. Penner
14-17Web Area Callbacks in v14Timothy A. Penner
13-104D and Google Charts APIJean-Jacques Bleu
13-114D and Google Charts API - Part 2Jean-Jacques Bleu
12-06Music Player IntegrationSonya Rackwitz
12-12Image BrowserSonya Rackwitz
11-054D Credentials Manager: JavaScript Injection Using Data from 4DJoshua Fletcher
11-16The 4D v12 Rich Text Area ComponentTom Fitch
09-01Collapsible Lists with Web AreaJoe Resuello
09-12HTML Email ComponentThomas Maul
09-29Embedding Maps in 4D using Google Maps
09-30Geocoding Using Public DataThomas Maul
09-36Embedding Maps in 4D using Open LayersThomas Maul
09-42ZIP Codes in 4D v11 SQLLuis Piñeiros
09-44Chat Integration in 4D v11 SQLAtanas Atanassov
09-46QuickTime and YouTube movies in Web AreaJoe Resuello
08-25Web Area in 4D v11 SQLLuis Piñeiros
08-35Google Chart API and Web Area IntegrationChristopher Visaya
08-39MD5 Algorithm Implemented in 4D v11 SQLAtanas Atanassov
08-44Mashups with 4D v11 SQL Web AreaLuis Piñeiros



**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:4D_Tech-***@lists.4D.com
*****************

Loading...