Using custom CSS and Javascript in POWR Apps

Follow

Comments

11 comments

  • Avatar
    Weducatel

    I need to change the list from left to right

    0
    Comment actions Permalink
  • Avatar
    Pilar

    Hi Weducatel! You should be able to right-align text in the dropdown by adding this line of CSS to Design > Advanced > Custom CSS: select {direction: rtl;}

     

    0
    Comment actions Permalink
  • Avatar
    Hanif Whyte

    Hi,

    I am using the POWR Map plugin in Wix.

    By default the map keeps its proportions when you increase the height or width but I'd like to set the height and width of the map manually using Custom CSS. Could you advise me what line of code I should use?

     

    Thanks. 

    0
    Comment actions Permalink
  • Avatar
    Wcrain

    In the custom JS, how do we target the form for an on submit (or on submit button click) event?

    e.g.,

    $('.realForm').on('submit', function(e) {
        console.log('form submitted');
    });

    0
    Comment actions Permalink
  • Avatar
    Pilar

    I found this in and old doc for how to track GA events for forms:

    $(document).on('click','#submitButton',function(){ 
    CUSTOM GOOGLE ANALYTICS CODE GOES HERE 
    });

    We don't currently offer support for custom code and I unfortunately can't guarantee that this will work. Perhaps another site visitor can advise better on how to successfully set this up. 

    1
    Comment actions Permalink
  • Avatar
    christian k

    Is there any way to use JS code to add locations to the map?

    I have a list of locations that will be constantly growing, and I want to be able to dynamically include all of them as locations on the map without having to upload a new CSV every other day.

    If not JS, is there any way to programatically add locations like this?

    0
    Comment actions Permalink
  • Avatar
    Pilar

    Hi Christian!

    This unfortunately isn't possible yet. It sounds like you are trying to connect to a Maps API to add more locations. We don't have an open API for any of our plugins at this time. The CSV upload would be your best option here. I will put in a feature request for an API and/or Zapier integration that could make this possible. It's definitely not a bad idea!

    0
    Comment actions Permalink
  • Avatar
    Jennifer Counts

    I'm using the Form Builder app in Wix for a payment form on a client's site.  I'm wondering if it's possible to use custom JS to use form field entry values to set the payment amount.  The form I'm working on has three fields whose values need to be added together.  I know I can just set it so that the user can enter the total in the payment window, but I would like to spare the user a step if possible.

    0
    Comment actions Permalink
  • Avatar
    Pilar

    Hi Jennifer!

    The best way to do this is to use the Price Change setting in any of our options fields - Checkbox, Multiple Checkboxes, Dropdown, Multiple Choice: https://help.powr.io/hc/en-us/articles/115002371548-How-to-Add-Pricing-Options-to-Forms

    We don't recommend using custom JS to add customizations to the payment flow. 

    0
    Comment actions Permalink
  • Avatar
    Scott McConnell

    Hi there....

    Been trying the free version for FAQ widget.

    Really liking it so far.

    I have some questions regarding your FAQ accordion.

    Some issues I am experiencing....

    1) If inserting a video using HTML in the ANSWER section, when clicking on the QUESTION, how do I get the video to automatically play?

    2) If I collapse the question, the video continues to play, how can I prevent that?

    3) If I open the next question, which automatically collapse the previous question, the video also continues to play, how do I prevent that from happening?

    4) Is there a way I can create categories?
       

    EXAMPLE:

                            "CUSTOMER TESTIMONIALS" (When clicked on will open sub answers.)
                             ANN - customer video - HTML
                             PAUL - customer video
                             BILL - Customer video
                              etc......
                            "WHAT THE DOCTORS ARE SAYING" (When clicked on will open sub answers.)
                              Dr, Pete video - HTML
                              Dr. John video
                              Dr. Bill video
                               etc....

    0
    Comment actions Permalink
  • Avatar
    Edgarkonig

    Hi, I am using Form Builder and I would like to remove the "back" button on a form.

    Thank you!

    0
    Comment actions Permalink

Please sign in to leave a comment.