netsuite - Dynamic disclaimer on transaction form html/pdf -


i'm having issues making disclaimer (or message!) on transaction forms dynamic. need show different message based on state of shipping address (which issue in itself).

i'm having tough time examples or docs. i'm either looking in wrong place, or not understanding it. using legacy basic forms, doesn't help.

these options.. think:

1) need write script parse shipping address retrieved api call, figure use setfieldvalue set value of disclaimer? or set custom field , display that?

2) use advanced html/pdf form , hardcoded if statement.. maybe? tbh i'm not sure how can state, address fields have seem 'address'.

unless i'm barking wrong tree , it's simpler altogether. i've kinda been chucked in deep end, having had no ns experience before!

if has examples, that'd swell.

thanks in advance!

i think both options spot on. if had this, point 2, because html option , flexibility of advanced html/pdf. state, can can use: ${record.billaddress} or ${record.shipaddress} part of if statement , put html of disclaimer.

another option if point 1 , 2 doesn't float boat, create separate forms different disclaimers on each of forms...although seems lot of rework.

just options. luck!


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -