Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #109963
    Laila
    Participant

    Hi,

    I’m using the checkout form and i want to make this field read-only

    {
    dataField: ‘name’,
    value: ‘pc2’,
    label: ‘Name’,
    cssClass: ‘outlined’,
    controlType: ‘input’
    },
    and another field to be calculated depending on the input field. Could you please help me?

    Many thanks in advance!

    • This topic was modified 2 years, 8 months ago by Laila.
    #109966
    ivanpeevski
    Participant

    Hi Laola,

     

    To make a field read-only, you can set “disabled: true”.

    For the second question, please see the Checkout demo here – https://www.htmlelements.com/demos/form/checkout/

    You will see that the field at orderSummary.order.products is dependent on the information contained in the payment method fields.

    You can do this by updating the value inside the onValueChanges callback

     

    Best Regards,
    Ivan Peevski
    Smart UI Team
    https://www.htmlelements.com/

    #113740
    Sanchizes chinazes
    Participant

    Jeg har tænkt en del over, hvor meget tid jeg bruger på at læse tilfældige ting på nettet. Jeg er i Danmark, så jeg tjekker altid, hvad der gælder her, før jeg rører noget kasinosite. Det var sådan, jeg endte på https://chickens-road-dk.com og kiggede på, hvordan sektionerne og vilkårene var sat op. Det var tydeligt nok. Ingen stor historie, bare lidt læsning, før jeg trykker på noget.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.