• Resolved ojasya

    (@ojasya)


    Thanks for the great plugin

    We created a custom widget with fields “title” and “number”
    Is it possible to do PHP operation on value of field

    for eg: I have a field named “Number” i.e {{number}}
    so base one the value of

    <span class="title1">{{title}}</span>
    <br>
    {{number}}
    <br>
    {{text}}
    <br>
    
    <?php
    $x = 8*{{number}};
    echo  $x;
    ?>

    I see that normal PHP operation like following works

    <?php
    $x = 8*3;
    echo  $x;
    ?>

    But problem is when we want to do operation on value of field

    SO is it possible?

    • This topic was modified 1 year, 3 months ago by ojasya.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Reedwanul Haque

    (@reedwanul)

    Hi @ojasya ,

    Thanks for contacting us & extremely sorry for the delayed response.

    I understand what you are looking for. I want to let you know that we can use PHP with dynamic input numbers. Don’t worry, I am sharing a video on this topic. After following these instructions I hope will get the solution.

    Let us know if you need further assistance.

    Regards,
    Reju

    Thread Starter ojasya

    (@ojasya)

    Hey Reju

    Greetings!

    Thanks a lot for the details explanation ??

    Plugin Support Reedwanul Haque

    (@reedwanul)

    Hello @ojasya ,

    Glad to hear that you are clear now on this topic ??

    If this plugin looks good to you and our support team, maybe you can help us by giving a 5-star on www.remarpro.com.

    Please navigate to the Review link from the sidebar then click the Add your own review link to put your review??.

    We’re working so hard to make this plugin more and more useful to our valuable users like you and a 5-star will really help us to grow on the market ??

    Best Regards,
    Reju

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can we do php operation on field’s value of custom widget’ is closed to new replies.