DFFS Alert

Forums General discussion DFFS Alert


Viewing 1 reply thread
  • Author
    • #28633

      Hi Alex, i am using the dffs alert in case someone is missing some info on the form but what i need to do is to add some fields in this alert so the user can directly update them from the alert for example “Comment” field to be editable from the alert. any idea or this feature is available now?

    • #28639
      Alexander Bautz

      If you need to fill in some info in an alert you should use the spjs.modal instead – bring up the developer toolbar by hitting f12 and type in this to see all options:


      Collecting info from a dialog and passing it back to the form is not a functionality that is available so the HTML elements must be added in the “html” argument to the function, and the code used to pass the data back to the form must be written in the “ok” function.

      Here is an example:

          "title": "Enter your phone number",
          "html": "<input type='text' id='phone_number_input' style='width:100%;box-sizing:border-box'>",
          "ok": function () {
              var title = jQuery("#phone_number_input").val();
              setFieldValue("phone_number", title);


Viewing 1 reply thread
  • You must be logged in to reply to this topic.