---
title: "Prepopulate fields during a transition"
canonical: "https://support.appfire.com/space/PSJC/491000242/Prepopulate%20fields%20during%20a%20transition"
format: markdown
---
> Macro (aura-html)


This script is called on the create transition and prepopulates the description fields

```
string steps;

steps = "The following steps must occur in order to complete this task:\n";
steps += "# Make an Observation. Scientists are naturally curious about the world. ...\n";
steps += "# Form a Question. After making an interesting observation, a scientific mind itches to find out more about it. ...\n";
steps += "# Form a Hypothesis. ...\n";
steps += "# Conduct an Experiment. ...\n";
steps += "# Analyse the Data and Draw a Conclusion.\n";

desc = steps;
```