Hello everybody and thanks for your wonderful product.
I am a noob trying to create a CPQ (configure > price > quote) platform for my company.
For the creation of the quotation I have prepared this blueprint
<?php if(!defined('KIRBY')) exit ?>
title: Offerta
pages: false
files:
sortable: true
fields:
title:
label: Numero offerta
type: text
azienda:
label: azienda
icon: building
type: select
options: query
query:
page: aziende
fetch: children
flip: true
articoli:
label: Articoli
type: structure
entry: >
{{articolo}} | €:{{prezzo}}
fields:
articolo:
label: articolo
type: select
options: query
query:
page: prodotti
fetch: children
flip: true
prezzo:
label: prezzo
type: text
The field articolo is properly selecting items from the children of the page prodotti. What i need is that the default value in the field prezzo gets its default value from the field prezzo in the selected page. This should be dynamic, i.e. as soon as i select an articolo the value inside the prezzo field should be updated.
Can this be done?