Create_form and resend_validation_form keywords


(Neil) #1

Hello

This may be a stupid question but I’m stuck.

With the account manager page asset there are 2 keywords, create_form and resend_validation_form keywords. On my install create_form links to a simple edit layout and displays that contents.

However, resend_validation_form doesn’t appear to do this and includes a text box and a button to the page.

I guess the question is what controls that create_form links to a form and resend_validation_form just includes some html? And can I override resend_validation_form to make it snazzier?

Hope that makes sense.

Thanks


(Bart Banda) #2

Have a look at https://matrix.squiz.net/tutorials/2017/how-to-use-an-asset-builder-to-edit-assets for some instructions on how to customise the create_form content. The tutorial uses an asset builder, but the concept is pretty much the same for account managers.

In regards to the resend_validation_form, you can’y customise that HTML, but you can use keyword modifiers on it like ^replace to replace some html such as classes and attributes if you want to control it a bit.